1 2 3 4 5 6
use vec_reg_macro::vec_reg; fn main() { let is_odd = |x: &i32| x % 2 == 1; vec_reg!((([is_odd][|x: &i32| x % 2 == 0])*|[is_odd]?)+); }