foldlWithKey Re: Proposal: keep Data.Map.foldWithKey

Christian Maeder Christian.Maeder at dfki.de
Thu Dec 16 12:52:25 CET 2010


Am 16.12.2010 12:35, schrieb Christian Maeder:
> For the "without key" variants I see no need.
> 
> Omitting an unused first argument can be easily done using "const".
> 
>   foldx = foldxWithKey  . const

This does not apply to foldlWithKey, though.

C.



More information about the Libraries mailing list