in your first example I believe you could even do ...
# getting-started
j
in your first example I believe you could even do
val divBy: (x: Int) -> Boolean = { it % 42 == 0 }
since your lambda already knows what to expect.
it
is a keyword for the input to the lambda if only one param is supplied.