QuickCheckVariant 1.0.0.1 → 1.0.1.0
raw patch · 2 files changed
+22/−10 lines, 2 filesdep ~QuickCheckdep ~basedep ~hspecPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, base, hspec
API changes (from Hackage documentation)
Files
- QuickCheckVariant.cabal +19/−8
- README.md +3/−2
QuickCheckVariant.cabal view
@@ -2,9 +2,9 @@ -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change-version: 1.0.0.1-synopsis: Generator of "valid" and "invalid" data in a type class-description: Generator of "valid" and "invalid" data in a type class+version: 1.0.1.0+synopsis: Valid and Invalid generator+description: "Valid" and "Invalid" data generator with a type class homepage: https://github.com/sanjorgek/QuickCheckVariant license: GPL-3 license-file: LICENSE@@ -25,8 +25,8 @@ exposed-modules: Test.QuickCheck.Variant -- other-modules: -- other-extensions:- build-depends: base >4.6 && <5- , QuickCheck >2.10 && <2.12+ build-depends: base >4.3 && <5+ , QuickCheck >=2.12 && <2.15 hs-source-dirs: src default-language: Haskell98 @@ -35,8 +35,19 @@ hs-source-dirs: test main-is: VariantTest.hs --other-modules:- build-depends: base- , hspec >2.3 && <2.5- , QuickCheck >2.10 && <2.12+ build-depends: base >4.3 && <5+ , hspec >2.3 && <2.9+ , QuickCheck >=2.12 && <2.15+ , QuickCheckVariant+ default-language: Haskell2010++benchmark variantBench+ type: exitcode-stdio-1.0+ hs-source-dirs: test+ main-is: VariantTest.hs+ --other-modules:+ build-depends: base >4.3 && <5+ , hspec >2.3 && <2.9+ , QuickCheck >=2.12 && <2.15 , QuickCheckVariant default-language: Haskell2010
README.md view
@@ -2,7 +2,8 @@ Generator of "valid" and "invalid" data in a type class -[](https://hackage.haskell.org/package/QuickCheckVariant)+[](https://hackage.haskell.org/package/QuickCheckVariant)+[](https://gitlab.com/sanjorgek/QuickCheckVariant/commits/master) For example, if you created @@ -26,7 +27,7 @@ name <- alternative return $ Client username name "" -``` +``` See [this post](https://wiki.haskell.org/QuickCheck_as_a_test_set_generator) for more details