pred-trie-0.0.2: Predicative tries
Data.Trie.Pred.Unified.Fast
Synopsis
data FUPTrie t x where Source
A fast, unified, predicative trie. Singleton, leaf-ending branches have their own data constructor, predicate labels and literals have a unified type.
Constructors
lookup :: Eq t => NonEmpty t -> FUPTrie t x -> Maybe x Source
merge :: Eq t => FUPTrie t x -> FUPTrie t x -> FUPTrie t x Source
Overwrites when similar, leaves untouched when not
areDisjoint :: Eq t => FUPTrie t x -> FUPTrie t x -> Bool Source