[Haskell-cafe] Should foldl' be added to the post-"Plan FTP" Prelude?
bob at redivi.com
Tue Feb 24 20:24:51 UTC 2015
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
It might be good measure to add foldr' as well, although I use that much
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe