fun foo(f: () -> Int) = f() fun test() { foo(fun() = foo(fun() = (1 + 2) * 3)) }