packages feed

registry-hedgehog 0.7.2.0 → 0.8.0.0

raw patch · 2 files changed

+5/−5 lines, 2 filesdep ~registryPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: registry

API changes (from Hackage documentation)

Files

registry-hedgehog.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 2bfe939d8ce493f2e69d9924c0319a069110da1a4cfad251f46bcd81ee5b25a0+-- hash: 65c1280eeb35adad6cc554972b941d6413be6f40dd7875f98069e60a99462ac8  name:           registry-hedgehog-version:        0.7.2.0+version:        0.8.0.0 synopsis:       utilities to work with Hedgehog generators and `registry` description:    This library provides some functions to extract generators from a "Registry" and make stateful modifications of that Registry to precisely control the generation of data category:       Control@@ -52,7 +52,7 @@     , mmorph ==1.*     , multimap ==1.*     , protolude ==0.3.*-    , registry >=0.2 && <0.4+    , registry >=0.4 && <1     , tasty ==1.*     , tasty-discover >=2 && <5     , tasty-hedgehog >=1.0 && <2.0@@ -101,7 +101,7 @@     , mmorph ==1.*     , multimap ==1.*     , protolude ==0.3.*-    , registry >=0.2 && <0.4+    , registry >=0.4 && <1     , registry-hedgehog     , tasty ==1.*     , tasty-discover >=2 && <5
src/Data/Registry/Hedgehog.hs view
@@ -96,7 +96,7 @@  -- | Specialize a generator in a given context specializeGen :: forall (a :: Type) b ins out. (Typeable a, Typeable b) => Gen b -> Registry ins out -> Registry ins out-specializeGen = specialize @(Gen a) @(Gen b)+specializeGen g = specialize @(Gen a) @(Gen b) (fun g)  -- | Add a generator for a list of elements genListOf :: forall a. (Typeable a) => Typed (Gen a -> Gen [a])