Map.genericSize

Serge D. Mechveliani mechvel at botik.ru
Fri Sep 29 04:33:15 EDT 2006


Dear GHC developers,

Can you, please, provide   Map.genericSize :: Map -> Integer

in addition to             Map.size        :: Map -> Int
?

For I use `Map.size', a bit, and need its variant which is both  O(1)  
and  Integer  (because Int is less reliable).

Probably, this is not hard to arrange.
The same request is for  Data.Set.

What do you think of this?

-----------------
Serge Mechveliani
mechvel at botik.ru


More information about the Glasgow-haskell-users mailing list