From ab19415c4a10b210b176215c67fa1ab3644f0f39 Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Sun, 16 Feb 2025 03:35:06 +0000 Subject: [PATCH 1/2] Bump `cabal` version used by CI build matrix. --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58ee13bd..dba08826 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: - macOS-latest - windows-latest cabal: - - '3.10' + - '3.12' ghc: - '8.10' - '9.0' From eebb3d752c88a0cb0be5d91be3b10f62aa48952f Mon Sep 17 00:00:00 2001 From: Jonathan Knowles Date: Sun, 16 Feb 2025 03:33:50 +0000 Subject: [PATCH 2/2] Bump package version. --- CHANGELOG.md | 2 +- monoidmap.cabal | 2 +- src/internal/Data/MonoidMap/Internal.hs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index afe030c8..ffbf2d2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -# Unreleased +# 0.0.3.0 - Added the `mapWithKey` function to `MonoidMap`. diff --git a/monoidmap.cabal b/monoidmap.cabal index f9df4946..fe66d2fa 100644 --- a/monoidmap.cabal +++ b/monoidmap.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: monoidmap -version: 0.0.2.1 +version: 0.0.3.0 bug-reports: https://github.com/jonathanknowles/monoidmap/issues license: Apache-2.0 license-file: LICENSE diff --git a/src/internal/Data/MonoidMap/Internal.hs b/src/internal/Data/MonoidMap/Internal.hs index 2e6acf39..96b114d6 100644 --- a/src/internal/Data/MonoidMap/Internal.hs +++ b/src/internal/Data/MonoidMap/Internal.hs @@ -1016,7 +1016,7 @@ mapKeysWith combine fk = fromListWith combine . fmap (B.first fk) . toList -- ( 'nullKey' k m) ==> ('get' k ('mapWithKey' f m) '==' 'mempty' ) -- @ -- --- @since unreleased +-- @since 0.0.3.0 -- mapWithKey :: MonoidNull v2