Data.IntMap/IntSet inconsistencies

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Mon Nov 2 12:53:44 EST 2009


On 1 Nov 2009, at 22:00, Twan van Laarhoven wrote:

> The interfaces from Data.IntMap and Data.Map are subtly different.
>
> Proposal: Data.IntMap/IntSet.deleteMin/Max should return empty when  
> the input is empty.
>
> Proposal: Data.IntMap.findMin/findMax should have the type  IntMap a  
> -> (Key,a)

+1 for consistency.

Regards,
     Malcolm



More information about the Libraries mailing list