[Haskell-cafe] Is there a library that has a strict version of `sum`?
damian.only at gmail.com
Tue Aug 14 17:34:43 UTC 2018
On Tue, Aug 14, 2018, 19:26 Tom Ellis <
tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk> wrote:
> 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
> > 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.
Any idea why Prelude does not ship a sum' version? (i.e. a strict version
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> Only members subscribed via the mailman list are allowed to post.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe