impure-containers-0.5.1: Mutable containers in Haskell.
Data.Trie.Immutable.Bits
data Trie k v Source #
Constructors
Fields
empty :: Trie k v Source #
lookup :: FiniteBits k => Trie k v -> k -> Maybe v Source #
This gives the best match, that is, the value stored at the longest prefix that matched this key.
freeze :: PrimMonad m => MTrie (PrimState m) k v -> m (Trie k v) Source #