File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
components/monoidmap-internal/Data/MonoidMap Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ # 0.0.4.0
2+
3+ - Added the ` fromMapWith ` function to ` MonoidMap ` .
4+
15# 0.0.3.0
26
37- Added the ` mapWithKey ` function to ` MonoidMap ` .
Original file line number Diff line number Diff line change @@ -494,6 +494,8 @@ fromMap = MonoidMap . Map.mapMaybe maybeNonNull
494494-- This function performs canonicalisation of 'C.null' values, and has a time
495495-- complexity that is linear in the size of the map.
496496--
497+ -- @since 0.0.4.0
498+ --
497499fromMapWith :: MonoidNull v2 => (v1 -> v2 ) -> Map k v1 -> MonoidMap k v2
498500fromMapWith f = MonoidMap . Map. mapMaybe (maybeNonNull . f)
499501
Original file line number Diff line number Diff line change 11cabal-version : 3.0
22name : monoidmap
3- version : 0.0.3 .0
3+ version : 0.0.4 .0
44bug-reports : https://github.com/jonathanknowles/monoidmap/issues
55license : Apache-2.0
66license-file : LICENSE
You can’t perform that action at this time.
0 commit comments