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

Bas van Dijk v.dijk.bas at gmail.com
Sat Nov 10 15:21:48 CET 2012


On 10 November 2012 15:19, Ian Lynagh <ian at well-typed.com> wrote:
> These are already done as far as I can see?

You're right. I was looking at the wrong patch.

>> foldlM :: (Foldable t, Monad m) => (a -> b -> m a) -> a -> t b -> m a    to:
>> foldlM :: (Foldable t, Monad m) => (b -> a -> m b) -> b -> t a -> m b
>
> I'll do this one.

Thanks,

Bas



More information about the Libraries mailing list