fun foo(f: (String) -> Int) {} fun test() { foo { it: String -> it.length } }