Skip to content

Commit 2462a09

Browse files
Prepare for release. (#252)
2 parents e0da3c2 + 308a09c commit 2462a09

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
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`.

components/monoidmap-internal/Data/MonoidMap/Internal.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
--
497499
fromMapWith :: MonoidNull v2 => (v1 -> v2) -> Map k v1 -> MonoidMap k v2
498500
fromMapWith f = MonoidMap . Map.mapMaybe (maybeNonNull . f)
499501

monoidmap.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 3.0
22
name: monoidmap
3-
version: 0.0.3.0
3+
version: 0.0.4.0
44
bug-reports: https://github.com/jonathanknowles/monoidmap/issues
55
license: Apache-2.0
66
license-file: LICENSE

0 commit comments

Comments
 (0)