1 2 3 4 5 6 7 8 9 10 11 12
use poi::prelude::*; fn main() { let ref std = std(); // or(true, true) = true let a = app(Or, (true, true)).reduce_all(std); // or(true)(true) = true let a = a.inline(&Or, std).unwrap().reduce_all(std); assert_eq!(a, true.into()); }