Proposal: add chunksOf to Data.Sequence

David Feuer david.feuer at gmail.com
Sun Mar 15 16:45:59 UTC 2015


Data.List.Split.chunksOf n xs breaks up a list xs into chunks of n elements
each. The internal "splitMap" function Data.Sequence uses to implement
zipWith supports a simple and efficient implementation of chunksOf. All in
favor, say "aye".

Also, I'm still waiting for a response (any response) to my "cycleN"
proposal.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20150315/fcb51753/attachment.html>


More information about the Libraries mailing list