pred-trie-0.0.10.2: Predicative tries

Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Trie.Pred.Hetero.Unified.Tail

Synopsis

Documentation

data HUPTrie t a b where Source

Constructors

HUMore :: t -> Maybe a -> [HUPTrie t a b] -> HUPTrie t a b 
HUPred :: t -> (t -> Maybe r) -> Maybe (r -> b) -> [HUPTrie t (r -> a) (r -> b)] -> HUPTrie t a b 

lookup :: Eq t => NonEmpty t -> HUPTrie t a b -> Maybe (Either a b) Source

merge :: Eq t => HUPTrie t a b -> HUPTrie t a b -> HUPTrie t a b Source

Overwrites when similar, leaves untouched when not

areDisjoint :: Eq t => HUPTrie t a b -> HUPTrie t a b -> Bool Source

litSingletonTail :: NonEmpty t -> a -> HUPTrie t a b Source

litExtrudeTail :: [t] -> HUPTrie t a b -> HUPTrie t a b Source

sort :: Eq t => [HUPTrie t a b] -> [HUPTrie t a b] Source