fun foo(f: (T) -> String) {} fun test() { foo { x: Int -> "$x"} }