Proposal: alpha-rename the type signatures of foldl, foldl', and scanl to be consistent with foldr and scanr

Evan Laforge qdunkan at gmail.com
Mon Oct 15 18:39:52 CEST 2012


On Mon, Oct 15, 2012 at 9:23 AM, Dan Burton <danburton.email at gmail.com> wrote:
>> 'r' is the version I originally used myself (see reddit). But then you
>> have to change the foldrs too, and quite possibly a lot of other
>> functions
>
> This is true, but these are merely alpha-renaming changes, so
> the only negative consequence is bikeshedding.
> I suggest we restrict the scope of this discussion to
> changing (at most) only list functions in the base package.

Just to throw some salt in the fire and open another can of beeswax, I
usually use 'accum' for this things.



More information about the Libraries mailing list