i'm looking for the nicest way to separate an array into overlapping subarrays, e.g. like this:[1, 2, 3, 4, 5, 6, 7, 8, 9]-> [[1, 2, 3], [2, 3, 4], [3, 4, 5], [4, 5, 6], [5, 6, 7], [6, 7, 8], [7, 8, 9]]-> [[1, 2, 3], [3, 4, 5], [5, 6, 7], [7, 8, 9]] any suggestions?
Pclump(3, Pslide([1, 2, 3, 4, 5, 6, 7, 8, 9], 7, 3, 1)).asStream.all -- .