<div dir="ltr">Same here (+1 foldl', -1 foldr')</div><div class="gmail_extra"><br><div class="gmail_quote">On 24 February 2015 at 21:44, Chris Allen <span dir="ltr"><<a href="mailto:cma@bitemyapp.com" target="_blank">cma@bitemyapp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
(+1) on foldl', (-1) on foldr' for the reasons outlined in the other
mailing list.<div><div class="h5"><br>
<br>
<div>On 02/24/2015 02:42 PM, Bob Ippolito
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<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></fieldset>
<br>
</div></div><pre>_______________________________________________
Libraries mailing list
<a href="mailto:Libraries@haskell.org" target="_blank">Libraries@haskell.org</a>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a>
</pre>
</blockquote>
<br>
</div>
<br>_______________________________________________<br>
Libraries mailing list<br>
<a href="mailto:Libraries@haskell.org">Libraries@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><b>Λ\ois</b></div><div><div><a href="http://twitter.com/aloiscochard" target="_blank">http://twitter.com/aloiscochard</a></div><div><a href="http://github.com/aloiscochard" target="_blank">http://github.com/aloiscochard</a></div></div></div></div>
</div>