monoidmap-examples 0.0.0.1 → 0.0.0.2
raw patch · 14 files changed
+28/−18 lines, 14 filesdep ~QuickCheckdep ~basedep ~containersPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, base, containers
API changes (from Hackage documentation)
Files
- CHANGELOG.md +5/−0
- LICENSE +1/−1
- README.md +7/−2
- components/monoidmap-examples-test/Data/MonoidMap/Examples/MultiMapSpec.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Class.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap1.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap2.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap3.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap4.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/MultiSet.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/NestedMonoidMap.hs +1/−1
- components/monoidmap-examples/Data/MonoidMap/Examples/Set/NonEmpty.hs +1/−1
- monoidmap-examples.cabal +5/−5
CHANGELOG.md view
@@ -1,3 +1,8 @@+# 0.0.0.2++- Added support for GHC version `9.14`.+- Revised version bounds for dependencies.+ # 0.0.0.1 - Revised version bounds for dependencies.
LICENSE view
@@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright © 2022–2025 Jonathan Knowles+ Copyright © 2022–2026 Jonathan Knowles Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
README.md view
@@ -1,5 +1,10 @@ # `monoidmap-examples` -Examples for the [`monoidmap`](https://github.com/jonathanknowles/monoidmap) package.+[](https://hackage.haskell.org/package/monoidmap-examples)+[](https://jonathanknowles.github.io/monoidmap-examples/) -<a href="https://jonathanknowles.github.io/monoidmap-examples/"><img src="https://img.shields.io/badge/Examples-Documentation-227755" /></a>+Examples for the [`monoidmap`](https://github.com/jonathanknowles/monoidmap) package.
components/monoidmap-examples-test/Data/MonoidMap/Examples/MultiMapSpec.hs view
@@ -5,7 +5,7 @@ {- HLINT ignore "Use null" -} -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- module Data.MonoidMap.Examples.MultiMapSpec
components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap.hs view
@@ -1,6 +1,6 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- Provides the 'MultiMap' class, which models a total relation from unique
components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Class.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- Provides the 'MultiMap' class, which models a total relation from unique
components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap1.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- An __unlawful__ implementation of 'MultiMap', implemented in terms of 'Map'
components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap2.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- A __lawful__ implementation of 'MultiMap', implemented in terms of 'Map' and
components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap3.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- A __lawful__ implementation of 'MultiMap', implemented in terms of 'Map' and
components/monoidmap-examples/Data/MonoidMap/Examples/MultiMap/Instances/MultiMap4.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- A __lawful__ implementation of 'MultiMap', implemented in terms of
components/monoidmap-examples/Data/MonoidMap/Examples/MultiSet.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- A multiset type, implemented in terms of 'MonoidMap'.
components/monoidmap-examples/Data/MonoidMap/Examples/NestedMonoidMap.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE TypeSynonymInstances #-} -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- A nested map with compound keys, implemented in terms of 'MonoidMap'.
components/monoidmap-examples/Data/MonoidMap/Examples/Set/NonEmpty.hs view
@@ -1,5 +1,5 @@ -- |--- Copyright: © 2022–2025 Jonathan Knowles+-- Copyright: © 2022–2026 Jonathan Knowles -- License: Apache-2.0 -- -- A minimal non-empty variant of the 'Set' data type.
monoidmap-examples.cabal view
@@ -1,12 +1,12 @@ cabal-version: 3.0 name: monoidmap-examples-version: 0.0.0.1+version: 0.0.0.2 bug-reports: https://github.com/jonathanknowles/monoidmap-examples/issues license: Apache-2.0 license-file: LICENSE author: Jonathan Knowles maintainer: mail@jonathanknowles.net-copyright: 2022–2025 Jonathan Knowles+copyright: 2022–2026 Jonathan Knowles category: Data Structures synopsis: Examples for monoidmap. description: Examples for the monoidmap package.@@ -16,9 +16,9 @@ README.md common dependency-base- build-depends:base >= 4.14.3.0 && < 4.22+ build-depends:base >= 4.14.3.0 && < 4.23 common dependency-containers- build-depends:containers >= 0.6.5.1 && < 0.8+ build-depends:containers >= 0.6.5.1 && < 0.9 common dependency-hspec build-depends:hspec >= 2.10.9 && < 2.12 common dependency-monoid-subclasses@@ -26,7 +26,7 @@ common dependency-monoidmap build-depends:monoidmap >= 0.0.4.4 && < 0.1 common dependency-QuickCheck- build-depends:QuickCheck >= 2.14.2 && < 2.17+ build-depends:QuickCheck >= 2.14.2 && < 2.19 common extensions default-extensions: