Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
MCSP.Data.RadixTree.Suffix
Description
A compressed trie of string suffixes.
Synopsis
- type SuffixTree a = RadixTreeMap a (Suffix a)
- construct :: Ord a => String a -> String a -> SuffixTree a
- findMax :: Ord a => SuffixTree a -> Maybe (String a)
Documentation
type SuffixTree a = RadixTreeMap a (Suffix a) Source #
A set of suffixes for a pair of strings.
Represented by a suffix tree.