fn even(&&e: int) -> bool { e % 2 == 0 } fn log_if(c: native fn(T)->bool, e: T) { if c(e) { log(debug, e); } } fn main() { (log_if(even, _))(2); }