Or something like `list.windowed(2, partialWindows...
# getting-started
k
Or something like
list.windowed(2, partialWindows = true)
, although that creates lists instead of pairs and the destructuring declaration won't work for the last "pair".