<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
(+1) on foldl', (-1) on foldr' for the reasons outlined in the other
mailing list.<br>
<br>
<div class="moz-cite-prefix">On 02/24/2015 02:42 PM, Bob Ippolito
wrote:<br>
</div>
<blockquote
cite="mid:CACwMPm_7Xj+ux2kmWkoqo9UMJKdct9tAsEfZJDC4wvyZEh7cQg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><span style="font-size:12.8000001907349px">(Cross-posted
from haskell-cafe as suggested by Carter Schonwald)</span></div>
<div><span style="font-size:12.8000001907349px"><br>
</span></div>
<span style="font-size:12.8000001907349px">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?</span>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">It might be good
measure to add foldr' as well, although I use that much less
frequently.</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">-bob</div>
<div style="font-size:12.8000001907349px"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Libraries mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Libraries@haskell.org">Libraries@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a>
</pre>
</blockquote>
<br>
</body>
</html>