not sure if this was also part of the question, bu...
# intellij
k
not sure if this was also part of the question, but if your lambda has 0 or 1 parameters, you can leave you the arrow so
foo { -> }
and
foo {}
is the same as well as
foo { a -> a }
and
foo { it }