:: Int -> [a] -> [[a]] package:rhythmic-sequences

Split the list into lists of n elements where n is the first parameter. Can be used efficiently just for the finite lists. Contains the modified code of the unfoldr function from the base package.