[Haskell-cafe] Is there a library that has a strict version of `sum`?
Tom Ellis
tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Tue Aug 14 17:25:43 UTC 2018
On Tue, Aug 14, 2018 at 05:22:00PM +0200, 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).
I can't say I understand that bottom line. A strict sum seems like a very
obvious thing to want to feature very prominently in whatever set of
utilities you choose to base your system on.
More information about the Haskell-Cafe
mailing list