A single general modification function for Map and IntMap proposal - vote

Twan van Laarhoven twanvl at gmail.com
Thu Jun 20 11:49:58 CEST 2013


On 20/06/13 10:58, Nikita Volkov wrote:
> Okay. It's settled about `alterF`
>  there however seems a disagreement to have risen on the "key-lambda" and
> deprecation proposals, so I am starting a vote.
>
> Following are stats on the vote we have so far.
>
> *A "key-lambda" proposal*

+1

> *Deprecate redundant functions*

> 3. Begin the deprecation process of the following functions: insertWith,
> insertWithKey, insertLookupWithKey, adjust, adjustWithKey, update,
> updateWithKey, updateLookupWithKey, alter.

This list is too long. I am neutral about deprecating alter, adjust and update. 
But insertWith is used very often, sometimes also partially applied to just the 
combining function. It would be much more inconvenient to have to use alterF.

So -1 to deprecating this whole list.



Twan



More information about the Libraries mailing list