hho
listOf(1, 2, 3, 4, 5, 6).chunked(2, { it[0] to it[1] }).toMap()
List
ilya.gorbunov
chunked
A modern programming language that makes developers happier.