Data.IntMap/IntSet inconsistencies

Ross Paterson ross at soi.city.ac.uk
Mon Nov 2 13:36:56 EST 2009


On Sun, Nov 01, 2009 at 11:00:34PM +0100, Twan van Laarhoven wrote:
> Proposal: Data.IntMap/IntSet.deleteMin/Max should return empty when
> the input is empty.

Yes, and also for updateMinWithKey and updateMaxWithKey.

> Proposal: Data.IntMap.findMin/findMax should have the type  IntMap a -> (Key,a)

Proposal: deprecate and then remove find, findIndex, findMin, findMax,
deleteFindMin and deleteFindMax.


More information about the Libraries mailing list