todd.ginsberg
12/04/2019, 11:12 PMKroppeb
12/04/2019, 11:20 PMzipWithNext()
and chunked()
don't do the same thing.
listOf(1,2,3,4).zipWithNext() // [(1,2),(2,3),(3,4)]
listOf(1,2,3,4).chunked(2) // [(1,2), (3,4)]
todd.ginsberg
12/05/2019, 1:19 AM