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

wren ng thornton wren at
Tue Oct 16 04:07:34 CEST 2012

On 10/15/12 1:56 PM, Andreas Abel wrote:
> Since you insist...
> -1 to use of 'r' in result
>     [If at all, the letter 'z' would be more logical (works for
> functions with more parameters).]
> Unrelated:
> -1 to long type variable names like 'accum'

+1, er -1, er what Andreas said.

(+1 for the original simple swapping of a and b, btw)

Live well,

More information about the Libraries mailing list