Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- data DPTrie p t x where
- lookup :: Eq t => NonEmpty t -> DPTrie p t x -> Maybe x
- lookupNearestParent :: Eq t => NonEmpty t -> DPTrie p t x -> Maybe x
- merge :: (Eq p, Eq t) => DPTrie p t x -> DPTrie p t x -> DPTrie p t x
- areDisjoint :: (Eq p, Eq t) => DPTrie p t x -> DPTrie p t x -> Bool
- litSingletonTail :: NonEmpty t -> x -> DPTrie p t x
- litExtrudeTail :: [t] -> DPTrie p t x -> DPTrie p t x
- sort :: (Eq p, Eq t) => [DPTrie p t x] -> [DPTrie p t x]
Documentation
lookupNearestParent :: Eq t => NonEmpty t -> DPTrie p t x -> Maybe x Source
merge :: (Eq p, Eq t) => DPTrie p t x -> DPTrie p t x -> DPTrie p t x Source
Overwrites when similar, leaves untouched when not
litSingletonTail :: NonEmpty t -> x -> DPTrie p t x Source
litExtrudeTail :: [t] -> DPTrie p t x -> DPTrie p t x Source