Lazy mode of recursive function
I’m going to find a solution to this problem: Splitting given list to sublist with given sub-list length and skip length, for example: groupEvery 3 1 [1..6] = [[1,2,3], [2,3,4], [3,4,5], [4,5,6]] groupEvery 3 2 "abcdefghij" = [ "abc", "cde", "efg", "ghi", "ij"] The groupEvery n p l args details are: n is length of… Read More Lazy mode of recursive function