https://kotlinlang.org logo
k

kirillrakhman

06/20/2016, 6:19 PM
if you're already going down the functional road, you can even omit the value itself. for example, I have a method
inline fun putArgsInto(args: Bundle, method: (String, Any?) -> Unit)
that puts some values from a
Bundle
into something. this something is bound to the
method
lambda, I don't even know about its existence.