Kotlin style
The full syntax is
{ (a: Foo, b: Bar) -> body() } The type annotations may be omitted, and if there is only one parameter, that can be omitted and replaced with the implicit parameter it:
{ it.bar() } The full syntax is
{ (a: Foo, b: Bar) -> body() } The type annotations may be omitted, and if there is only one parameter, that can be omitted and replaced with the implicit parameter it:
{ it.bar() }