Yes. @hho's example can be cleaned up a little bit...
# getting-started
m
Yes. @hho's example can be cleaned up a little bit with some destructuring by the way:
listOf(1, 2, 3, 4, 5, 6).chunked(2) { (a, b) -> a to b }.toMap()
.