Files
kotlin-fork/idea/testData/intentions/replaceItWithExplicitFunctionLiteralParam/applicable.kt.after
T

3 lines
96 B
Plaintext
Vendored

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