split icon indicating copy to clipboard operation
split copied to clipboard

Standard Haskell list splitting library.

Results 2 split issues
Sort by recently updated
recently updated
newest added

I've found that splitPlaces does not take into account 0 length splits at the end of a list which tends to cause issues when zipping together nested lists. For example:...

Consider adding such function. I remember someone has asked for it on stackoverflow (can't find the question now). Actually it has been implemented here: http://hackage.haskell.org/packages/archive/yarr/1.3.1/doc/html/Data-Yarr-Utils-Split.html, function `evenChunks`. (Imported from https://hub.darcs.net/byorgey/split/issue/2)