Join Slack
Powered by
For a functional solution `list.reduce { a, b ->...
# getting-started
d
dalexander
03/01/2016, 3:43 PM
For a functional solution
list.reduce { a, b -> a + b }
It'll die if you have no items in the list though.
3
Views
Open in Slack
Previous
Next