fun foo(f: (Int) -> Boolean) { f(1) } fun test() { foo(fun(i: Int): Boolean {return i > 0 }) }