why it's not possible to write `.map(parser.parse)...
# announcements
v
why it's not possible to write
.map(parser.parse)
instead of
.map { parser.parse(it) }
?
m
vaskir:
.map(parser::parse)
maybe?
v
Yes, just read about such notation in Kotlin in Action book. Thanks ­čÖé