[Haskell-cafe] Is there a library that has a strict version of `sum`?

Imants Cekusins imantc at gmail.com
Tue Aug 14 19:17:44 UTC 2018

>  I have to sum up values in different lists, and as soon as I try this
with large lists the memory usage blows up.

did you try splitting the list in chunks and summing those chunks?

there is this chunksOf function:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180814/1cd245cf/attachment.html>

More information about the Haskell-Cafe mailing list