Join Slack
Powered by
can you do functional referencing when reducing li...
# announcements
c
chb0kotlin
06/09/2017, 5:59 PM
can you do functional referencing when reducing like:
listOf("hello", " ", "world").reduce(a,b -> a + b)
can
(a,b -> a + b)
be changed to
reduce(String::plus)
or something equivalent? - that doesn't seem to work when I try it
Open in Slack
Previous
Next