| Data.Map. | Map | :: module |
| containers | An efficient implementation of ordered maps from keys to values (dictionaries). This module re-exports the value lazy Data.Map.Lazy API, plus
several deprecated value strict functions. Please note that these functions
have different strictness properties than those in Data.Map.Strict:
they only evaluate the values inserted into the map. For example, the
default value to These modules are intended to be imported qualified, to avoid name clashes with Prelude functions, e.g. import qualified Data.Map as Map The implementation of
Note that the implementation is left-biased -- the elements of a
first argument are always preferred to the second, for example in
Operation comments contain the operation time complexity in the Big-O notation (http://en.wikipedia.org/wiki/Big_O_notation). | |
| Data.Map.Strict. | map | :: map |
| containers | ||
| Data.Map.Lazy. | map | :: map |
| containers | ||
| Data.Set. | map | :: (a -> b) -> Set a -> Set b |
| containers | ||
| Data.IntSet. | map | :: map |
| containers | ||
| Data.IntMap.Strict. | map | :: map |
| containers | ||
| Data.IntMap.Lazy. | map | :: map |
| containers | ||
| Data.Map.Strict. | Map | :: data |
| containers | ||
| Data.Map.Lazy. | Map | :: data |
| containers | ||
| Data.IntMap. | IntMap | :: module |
| containers | An efficient implementation of maps from integer keys to values (dictionaries). This module re-exports the value lazy Data.IntMap.Lazy API, plus
several deprecated value strict functions. Please note that these functions
have different strictness properties than those in Data.IntMap.Strict:
they only evaluate the result of the combining function. For example, the
default value to These modules are intended to be imported qualified, to avoid name clashes with Prelude functions, e.g. import Data.IntMap (IntMap) import qualified Data.IntMap as IntMap The implementation is based on big-endian patricia trees. This data
structure performs especially well on binary operations like
Operation comments contain the operation time complexity in
the Big-O notation http://en.wikipedia.org/wiki/Big_O_notation.
Many operations have a worst-case complexity of O(min(n,W)).
This means that the operation can become linear in the number of
elements with a maximum of W -- the number of bits in an | |