poohbar
05/12/2017, 8:38 PM{ x: Int, y: Int -> x + y }
we can explicitly specify the type of parameters. Can we also specify the return type?Andreas Sinz
05/13/2017, 9:08 AMints.filter(fun(item) = item > 0)
https://kotlinlang.org/docs/reference/lambdas.html#anonymous-functions