marstran
chunked
sequenceOf(1, 2, 3, 4, 5, 6, 7).chunked(3).forEach { println(it) }
[1,2,3] [4,5,6] [7]