Map.genericSize
Christian Maeder
maeder at tzi.de
Fri Sep 29 05:02:07 EDT 2006
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 at botik.ru
More information about the Glasgow-haskell-users
mailing list