NOTE: this package is not compatible with Elm 0.19.1
Extensions to the core List library.
Split a list into chunks of length n.
Be aware that the last sub-list may be smaller than n-items long.
For example chunk 3 [1,2,3,4,5,6,7,8,9,10] => [[1,2,3], [4,5,6], [7,8,9], [10]]
chunk 3 [1,2,3,4,5,6,7,8,9,10] => [[1,2,3], [4,5,6], [7,8,9], [10]]
Split a list into chunks of length n.
Be aware that the last sub-list may be smaller than n-items long.
For example
chunk 3 [1,2,3,4,5,6,7,8,9,10] => [[1,2,3], [4,5,6], [7,8,9], [10]]