| Copyright | © 2022–2026 Jonathan Knowles |
|---|---|
| License | Apache-2.0 |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.MonoidMap.Internal.NonNullMap.Get
Description
Provides alternative implementations of get, which gets the value
associated with a key in a NonNullMap, returning mempty if the key is
not present.
These implementations are exported so that they can be benchmarked against one another.
Documentation
get_findWithDefault :: (Ord k, Monoid v) => k -> NonNullMap k v -> v Source #
get_lookup :: (Ord k, Monoid v) => k -> NonNullMap k v -> v Source #