fun foo(f: () -> Int) { f() } fun main(args: String) { foo { 1 } }