
29 Sep
2006
29 Sep
'06
9:02 a.m.
Map (and Set) use (unboxed) Int internally. So bigger Maps and Sets are not possible. Christian Serge D. Mechveliani schrieb:
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@botik.ru