validity 0.12.1.0 → 0.12.2.0
raw patch · 4 files changed
+18/−2 lines, 4 filessetup-changed
Files
- CHANGELOG.md +6/−0
- Setup.hs +2/−0
- src/Data/Validity.hs +6/−0
- validity.cabal +4/−2
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [0.12.2.0 - 2026-11-26]++### Added++* `Validity` instances for `Min` and `Max` from `Data.Semigroup`+ ## [0.12.1.0 - 2024-07-18] ### Added
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
src/Data/Validity.hs view
@@ -540,6 +540,12 @@ deriving newtype instance (Validity a) => Validity (Semigroup.Last a) -- | Valid values the same as it's base type:+deriving newtype instance (Validity a) => Validity (Semigroup.Min a)++-- | Valid values the same as it's base type:+deriving newtype instance (Validity a) => Validity (Semigroup.Max a)++-- | Valid values the same as it's base type: deriving newtype instance (Validity a) => Validity (Monoid.First a) -- | Valid values the same as it's base type:
validity.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.36.0.+-- This file has been generated from package.yaml by hpack version 0.38.3. -- -- see: https://github.com/sol/hpack name: validity-version: 0.12.1.0+version: 0.12.2.0 synopsis: Validity typeclass description: For more info, see <https://github.com/NorfairKing/validity the readme>. .@@ -16,6 +16,8 @@ * <https://hackage.haskell.org/package/validity-bytestring validity-bytestring> . * <https://hackage.haskell.org/package/validity-containers validity-containers>+ .+ * <https://hackage.haskell.org/package/validity-dlist validity-dlist> . * <https://hackage.haskell.org/package/validity-path validity-path> .