Copyright | (c) Edward Kmett 2015 |
---|---|
License | BSD-style |
Maintainer | Edward Kmett <ekmett@gmail.com> |
Portability | non-portable |
Safe Haskell | Trustworthy |
Language | Haskell2010 |
This module suppose a Word64-based array-mapped PATRICIA Trie.
The most significant nybble is isolated by using techniques based on https://www.fpcomplete.com/user/edwardk/revisiting-matrix-multiplication/part-4 but modified to work nybble-by-nybble rather than bit-by-bit.
Documentation
Instances
Functor WordMap Source # | |
Foldable WordMap Source # | |
Defined in Data.Discrimination.Internal.WordMap fold :: Monoid m => WordMap m -> m # foldMap :: Monoid m => (a -> m) -> WordMap a -> m # foldr :: (a -> b -> b) -> b -> WordMap a -> b # foldr' :: (a -> b -> b) -> b -> WordMap a -> b # foldl :: (b -> a -> b) -> b -> WordMap a -> b # foldl' :: (b -> a -> b) -> b -> WordMap a -> b # foldr1 :: (a -> a -> a) -> WordMap a -> a # foldl1 :: (a -> a -> a) -> WordMap a -> a # elem :: Eq a => a -> WordMap a -> Bool # maximum :: Ord a => WordMap a -> a # minimum :: Ord a => WordMap a -> a # | |
Traversable WordMap Source # | |
Show v => Show (WordMap v) Source # | |
NFData v => NFData (WordMap v) Source # | |
Defined in Data.Discrimination.Internal.WordMap |