Proposal: keep Data.Map.foldWithKey

Sittampalam, Ganesh ganesh.sittampalam at
Wed Dec 15 16:13:30 CET 2010

Johan Tibell wrote:
> On Wed, Dec 15, 2010 at 10:57 AM, Christian Maeder
> <Christian.Maeder at> wrote: 
>> It is the right answer as long as fold{l,r}WithKey are missing in
>> Data.IntMap.
> I don't see why being halfway towards a desired state should make us
> want to go back to the previous state. 
> {starting point} -> {we are here} -> {here's where we want to be}
> it seems it would be more work to first revert to the previous state
> and then make a proposal to move to the final state (where Map and
> IntMap are symmetric) than to just move to the final state from where
> we are today.   

But we don't have a proposal for "where we want to be", so if "we are
here" is worse than "starting point", we should consider what the
prospects of that other proposal materialising are.


Please access the attached hyperlink for an important electronic communications disclaimer: 

More information about the Libraries mailing list