Safe Haskell | None |
---|---|
Language | Haskell2010 |
A trie like data structure for defining maps from BCP47
tags to values.
This structure supports collection and lookup of language tagged values. Its semantics are based on those defined in the BCP 47 specification.
Synopsis
Documentation
A trie mapping BCP47
tags to values
Instances
Functor Trie Source # | |
Foldable Trie Source # | |
Defined in Data.BCP47.Trie.Internal fold :: Monoid m => Trie m -> m # foldMap :: Monoid m => (a -> m) -> Trie a -> m # foldr :: (a -> b -> b) -> b -> Trie a -> b # foldr' :: (a -> b -> b) -> b -> Trie a -> b # foldl :: (b -> a -> b) -> b -> Trie a -> b # foldl' :: (b -> a -> b) -> b -> Trie a -> b # foldr1 :: (a -> a -> a) -> Trie a -> a # foldl1 :: (a -> a -> a) -> Trie a -> a # elem :: Eq a => a -> Trie a -> Bool # maximum :: Ord a => Trie a -> a # | |
Traversable Trie Source # | |
Eq a => Eq (Trie a) Source # | |
Ord a => Ord (Trie a) Source # | |
Show a => Show (Trie a) Source # | |
Semigroup a => Semigroup (Trie a) Source # | |
Semigroup a => Monoid (Trie a) Source # | |
Arbitrary a => Arbitrary (Trie a) Source # | |