[Haskell-cafe] Should foldl' be added to the post-"Plan FTP" Prelude?

Carter Schonwald carter.schonwald at gmail.com
Tue Feb 24 20:38:45 UTC 2015

I think that should be raised on the libraries list, but subject to that, a
strong +1 from me once you do :)

On Tue, Feb 24, 2015 at 3:24 PM, Bob Ippolito <bob at redivi.com> wrote:

> I would love to have foldl' as part of the Prelude. I use it quite
> frequently and it seems like a beginner trap to have foldl but not foldl'
> (which is almost always the better choice). I see that foldMap has been
> added (in addition to all of Monoid and Traversable), why was foldl' left
> out?
> It might be good measure to add foldr' as well, although I use that much
> less frequently.
> -bob
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150224/2d19ba30/attachment.html>

More information about the Haskell-Cafe mailing list