Programming, Cloudflare, Rust, Serverless, Workers.
items.iter().all(|item| item.execute(ctx))) } CombiningOp::Or => { CompiledExpr::new(move |ctx| items.iter().any(|item| item.execute(ctx))) } CombiningOp::Xor => CompiledExpr::new(move |ctx| { items .iter() .fold(false, |acc, item| acc ^ item.execute(ctx)) }), } What’s nice about this approach is: