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

Bryan Richter b at chreekat.net
Tue Aug 14 18:07:48 UTC 2018


On 08/14/2018 11:22 AM, Damian Nadales wrote:

> Ok, so if understood the bottom line of the answers I got from
> Vanessa and Hiromi the take away seems to be: if you're prototyping
> then stick to the lazy version of sum, otherwise use more advanced
> data structures (Vectors or Folds).

Are you implying that lazy functions are only good for prototyping? Or
is there something wrong with sum in particular?

More generally, why isn't sum working for you?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20180814/3c36d33d/attachment.sig>


More information about the Haskell-Cafe mailing list