packages feed

genvalidity 1.0.0.0 → 1.0.0.1

raw patch · 3 files changed

+14/−8 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,5 +1,11 @@ # Changelog +## [1.0.0.1] - 2021-11-20++### Changed++* Added compatibility with `lts-18.16`+ ## [1.0.0.0] - 2021-11-20  ### Changed
genvalidity.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.34.5. -- -- see: https://github.com/sol/hpack  name:           genvalidity-version:        1.0.0.0+version:        1.0.0.1 synopsis:       Testing utilities for the validity library description:    Note: There are companion instance packages for this library:                 .
src/Data/GenValidity/Utils.hs view
@@ -199,7 +199,7 @@   frequency     [ (1, extreme),       (1, small),-      (8, uniform)+      (8, uniformInt)     ]   where     extreme :: Gen a@@ -210,8 +210,8 @@         ]     small :: Gen a     small = sized $ \s -> choose (- fromIntegral s, fromIntegral s)-    uniform :: Gen a-    uniform = choose (minBound, maxBound)+    uniformInt :: Gen a+    uniformInt = choose (minBound, maxBound)  -- | Generate Word, Word8, Word16, Word32 and Word64 values smartly. --@@ -223,7 +223,7 @@   frequency     [ (1, extreme),       (1, small),-      (8, uniform)+      (8, uniformWord)     ]   where     extreme :: Gen a@@ -231,8 +231,8 @@       choose (maxBound - fromIntegral s, maxBound)     small :: Gen a     small = sized $ \s -> choose (0, fromIntegral s)-    uniform :: Gen a-    uniform = choose (minBound, maxBound)+    uniformWord :: Gen a+    uniformWord = choose (minBound, maxBound)  -- | See 'genFloatX' genFloat :: Gen Float