Join Slack
Communities
Powered by
why it's not possible to write `.map(parser.parse)...
# announcements
v
vaskir
06/04/2017, 7:17 AM
why it's not possible to write
.map(parser.parse)
instead of
.map { parser.parse(it) }
?
m
mg6maciej
06/04/2017, 9:16 AM
vaskir:
.map(parser::parse)
maybe?
v
vaskir
06/08/2017, 7:50 AM
Yes, just read about such notation in Kotlin in Action book. Thanks 🙂
2
Views
Open in Slack
Previous
Next