Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
data
ListMap (m :: Type -> Type) aghc GHC.Data.TrieMap No documentation available.
type
LiteralMap a = Map Literal aghc GHC.Data.TrieMap No documentation available.
data
MaybeMap (m :: Type -> Type) aghc GHC.Data.TrieMap No documentation available.
class Functor m =>
TrieMap (m :: Type -> Type)ghc GHC.Data.TrieMap No documentation available.
foldMapTM :: (TrieMap m, Monoid r) => (a -> r) -> m a -> rghc GHC.Data.TrieMap No documentation available.
fmapMaybeUB :: (a -> b) -> MaybeUB a -> MaybeUB bghc GHC.Data.Unboxed No documentation available.
-
An efficient implementation of maps from integer keys to values (dictionaries). This module re-exports the value lazy Data.Word64Map.Lazy API, plus several deprecated value strict functions. Please note that these functions have different strictness properties than those in Data.Word64Map.Strict: they only evaluate the result of the combining function. For example, the default value to insertWith' is only evaluated if the combining function is called and uses it. These modules are intended to be imported qualified, to avoid name clashes with Prelude functions, e.g.
import Data.Word64Map (Word64Map) import qualified Data.Word64Map as Word64Map
The implementation is based on big-endian patricia trees. This data structure performs especially well on binary operations like union and intersection. However, my benchmarks show that it is also (much) faster on insertions and deletions when compared to a generic size-balanced map implementation (see Data.Map).- Chris Okasaki and Andy Gill, "Fast Mergeable Integer Maps", Workshop on ML, September 1998, pages 77-86, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.37.5452
- D.R. Morrison, "PATRICIA -- Practical Algorithm To Retrieve Information Coded In Alphanumeric", Journal of the ACM, 15(4), October 1968, pages 514-534.
-
ghc GHC.Data.Word64Map.Internal A map of integers to values a.
-
ghc GHC.Data.Word64Map.Internal Map contravariantly over a WhenMatched f _ y z.
-
ghc GHC.Data.Word64Map.Internal Map contravariantly over a WhenMatched f x _ z.