pred-trie-0.0.4: Predicative tries

Safe HaskellSafe
LanguageHaskell2010

Data.Trie.Pred.Disjoint

Synopsis

Documentation

data RPDTrie p t x Source

A Rooted, predicate, disjointly indexed trie

Constructors

Rooted (Maybe x) [NDPTrie p t x] 

Instances

(Eq p, Eq t) => Monoid (RPDTrie p t x) Source 

merge :: (Eq p, Eq t) => RPDTrie p t x -> RPDTrie p t x -> RPDTrie p t x Source

lookup :: Eq t => [t] -> RPDTrie p t x -> Maybe x Source