Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
- data RUPTrie t x = Rooted {}
- data UPTrie t x where
- assignLit :: Eq t => [t] -> Maybe x -> RUPTrie t x -> RUPTrie t x
- showTrie :: Show t => RUPTrie t x -> String
- merge :: Eq t => RUPTrie t x -> RUPTrie t x -> RUPTrie t x
- elem :: Eq t => [t] -> RUPTrie t x -> Bool
- lookup :: Eq t => [t] -> RUPTrie t x -> Maybe x
- lookupWithL :: Eq t => (t -> t) -> [t] -> RUPTrie t x -> Maybe x
- lookupNearestParent :: Eq t => [t] -> RUPTrie t x -> Maybe x
- lookupThrough :: Eq t => [t] -> RUPTrie t x -> [x]
- litSingleton :: [t] -> x -> RUPTrie t x
- litExtrude :: [t] -> RUPTrie t x -> RUPTrie t x
Documentation
lookupWithL :: Eq t => (t -> t) -> [t] -> RUPTrie t x -> Maybe x Source
Applies f
to the last chunk.
lookupNearestParent :: Eq t => [t] -> RUPTrie t x -> Maybe x Source
lookupThrough :: Eq t => [t] -> RUPTrie t x -> [x] Source
Append contents up-to lookup path.
litSingleton :: [t] -> x -> RUPTrie t x Source
litExtrude :: [t] -> RUPTrie t x -> RUPTrie t x Source