pred-trie-0.0.10.2: Predicative tries

Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Trie.Pred.Hetero.Unified

Documentation

data RHUPTrie t a b Source

Constructors

Rooted 

Fields

root :: Maybe a
 
children :: [HUPTrie t a b]
 

Instances

Eq t => Monoid (RHUPTrie t a b) 

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

lookup :: Eq t => [t] -> RHUPTrie t a b -> Maybe (Either a b) Source

litSingleton :: [t] -> a -> RHUPTrie t a b Source

litExtrude :: [t] -> RHUPTrie t a b -> RHUPTrie t a b Source