pred-trie-0.0.4: Predicative tries

Safe HaskellSafe
LanguageHaskell2010

Data.Trie.Pred.Unified.Tail

Synopsis

Documentation

data NUPTrie t x where Source

Constructors

NUMore :: t -> Maybe x -> [NUPTrie t x] -> NUPTrie t x 
NUPred :: t -> (t -> Maybe r) -> Maybe (r -> x) -> [NUPTrie t (r -> x)] -> NUPTrie t x 

lookup :: Eq t => NonEmpty t -> NUPTrie t x -> Maybe x Source

merge :: Eq t => NUPTrie t x -> NUPTrie t x -> NUPTrie t x Source

Overwrites when similar, leaves untouched when not

areDisjoint :: Eq t => NUPTrie t x -> NUPTrie t x -> Bool Source