| Copyright | © 2022–2026 Jonathan Knowles |
|---|---|
| License | Apache-2.0 |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.MonoidMap.Internal.NonNullMap.FromMapWith
Description
Provides alternative implementations of fromMapWith, which constructs a
map of NonNull values from an ordinary map, applying a function to all
values.
These implementations are exported so that they can be benchmarked against one another.
Documentation
fromMapWith_mapMaybe :: MonoidNull v2 => (v1 -> v2) -> Map k v1 -> NonNullMap k v2 Source #
fromMapWith_map_filter :: MonoidNull v2 => (v1 -> v2) -> Map k v1 -> NonNullMap k v2 Source #
fromMapWith_map_filter_if_any_null :: MonoidNull v2 => (v1 -> v2) -> Map k v1 -> NonNullMap k v2 Source #