Data.IntMap/IntSet inconsistencies

Ian Lynagh igloo at earth.li
Mon Nov 2 13:17:01 EST 2009


On Sun, Nov 01, 2009 at 11:00:34PM +0100, Twan van Laarhoven wrote:
>
> 2. findMin/Max have a different signature
>
>     Data.Map.findMin :: Map k a -> (k, a)
>     Data.IntMap.findMin :: IntMap a -> a

This part is already fixed in 6.12/HEAD:

Prelude> :t Data.IntMap.findMin
Data.IntMap.findMin :: Data.IntMap.IntMap a -> (Int, a)


Thanks
Ian



More information about the Libraries mailing list