fun applyTwice(f: (A) -> A, x: A) = f(f(x)) val x = applyTwice({ 1 + it }, 40)