Join Slack
Powered by
If you can use 1.2, `zipWithNext()` will help: `l...
# getting-started
t
todd.ginsberg
09/26/2017, 2:36 PM
If you can use 1.2,
zipWithNext()
will help:
listOf(1, 2, 3, 4, 5, 6).zipWithNext().toMap()
EDIT: This is wrong, don't use it! 🙂
3
Views
Open in Slack
Previous
Next