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

Andreas Abel <[email protected]>
Newsgroups gmane.comp.lang.haskell.libraries,gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
+1

On 09.11.12 10:29 AM, Bas van Dijk wrote:
> Hi,
>
> We should make this same change in Control.Monad:
>
> foldM :: Monad m => (a -> b -> m a) -> a -> [b] -> m a    to:
> foldM :: Monad m => (b -> a -> m b) -> b -> [a] -> m b
>
> foldM_ :: Monad m => (a -> b -> m a) -> a -> [b] -> m ()    to:
> foldM_ :: Monad m => (b -> a -> m b) -> b -> [a] -> m ()
>
> Bas
>
> On 27 October 2012 22:07, Ian Lynagh <[email protected]> wrote:
>> On Sun, Oct 14, 2012 at 04:28:58PM +0200, Gábor Lehel wrote:
>>>
>>> I've attached a patch.
>>
>> I've applied the patch, and also the other agreed changes.
>>
>>
>> Thanks
>> Ian
>>
>>
>> _______________________________________________
>> Libraries mailing list
>> [email protected]
>> http://www.haskell.org/mailman/listinfo/libraries
>
> _______________________________________________
> Libraries mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/libraries
>

-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Theoretical Computer Science, University of Munich
Oettingenstr. 67, D-80538 Munich, GERMANY

[email protected]
http://www2.tcs.ifi.lmu.de/~abel/

_______________________________________________
Libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/libraries
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.