michaelsims
val list = listOf(0, 1, 2) list.windowed(size = 2, partialWindows = true) { println(it) }