Groovy and Kotlin use the implicit "it" parameter for lambdas that take just one parameter, which is very convenient:
listOf(1, 2, 3, 4).filter { it % 2 == 0 } listOf(1, 2, 3, 4).filter { it % 2 == 0 } list(1, 2, 3, 4).reduce(_ + _) == 10 list(1, 2, 3, 4).reduce{print(_) + _} == 10
Use it if you or your language hasn't defined such a function: list(1, 2, 3, 4).reduce{it:= _; println(it); it + _} == 10
In fact, any name for it will do. filter ((0==) . (%2)) [1, 2, 3, 4]