I mean I can do something like this for example: `...
# announcements
m
I mean I can do something like this for example:
Copy code
val foo: (String) -> Int = { x -> x.length } //here I have explicit types
array.map{foo}
But is there a shorter version?