Proposal: keep Data.Map.foldWithKey

Christian Maeder Christian.Maeder at
Fri Jan 14 15:20:44 CET 2011

Am 14.01.2011 13:47, schrieb Ross Paterson:
> On Fri, Jan 14, 2011 at 01:13:46PM +0100, Christian Maeder wrote:
>> The problem of adding a new function and deprecating an old one in the
>> same release is, that sources modified according to the deprecation
>> cannot be compiled with a previous compiler release.
> Yes, you'd need ifdefs to do this, but waiting another year is just
> too slow.  It's a trade-off, to be sure.

Before using ifdefs I (and maybe others too) would revert the change and
ignore the deprecation warning (for one major release), thus defeating
the purpose of deprecations.

Why the hurry to deprecate?


More information about the Libraries mailing list