impure-containers-0.5.1: Mutable containers in Haskell.

Safe HaskellNone
LanguageHaskell2010

Data.Trie.Immutable.Bits

Synopsis

Documentation

data Trie k v Source #

Constructors

Trie 

Fields

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 #