andrewoma
val lines: Sequence<String> ... for (window in lines.window(before = 1, after = 1) { val (prev, current, next) = window ... }