compactmap-0.1.2: A read-only memory-efficient key-value store.

Safe HaskellNone
LanguageHaskell2010

Data.CompactMap

Documentation

data CompactMap k v Source

Instances

fromList :: Ord k => [v] -> (v -> k) -> CompactMap k v Source

lookup :: Ord k => k -> CompactMap k v -> Maybe v Source

getLE :: Ord k => k -> CompactMap k v -> Maybe (Int, v) Source