registry-hedgehog 0.1.0.0 → 0.1.1.0
raw patch · 2 files changed
+4/−4 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Data.Registry.Hedgehog: pairOf :: forall a b m. Monad m => GenT m a -> GenT m b -> GenT m (a, b)
+ Data.Registry.Hedgehog: pairOf :: forall a b. GenIO a -> GenIO b -> GenIO (a, b)
- Data.Registry.Hedgehog: tripleOf :: forall a b c m. Monad m => GenT m a -> GenT m b -> GenT m c -> GenT m (a, b, c)
+ Data.Registry.Hedgehog: tripleOf :: forall a b c. GenIO a -> GenIO b -> GenIO c -> GenIO (a, b, c)
Files
registry-hedgehog.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: afcc78ed8706fa89c2270d64ea3dd640a4afa2db1ed1c5982c7fcce7160ca4e5+-- hash: 43f24c96eca61918ac318573b5f30573358d5a979075a995f8c95a09c49ccf51 name: registry-hedgehog-version: 0.1.0.0+version: 0.1.1.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
src/Data/Registry/Hedgehog.hs view
@@ -138,11 +138,11 @@ -- * CONTAINERS COMBINATORS -- | Create a generator for a pair-pairOf :: forall a b m . (Monad m) => GenT m a -> GenT m b -> GenT m (a, b)+pairOf :: forall a b . GenIO a -> GenIO b -> GenIO (a, b) pairOf ga gb = (,) <$> ga <*> gb -- | Create a generator for a triple-tripleOf :: forall a b c m . (Monad m) => GenT m a -> GenT m b -> GenT m c -> GenT m (a, b, c)+tripleOf :: forall a b c . GenIO a -> GenIO b -> GenIO c -> GenIO (a, b, c) tripleOf ga gb gc = (,,) <$> ga <*> gb <*> gc -- | Create a default generator for a small list of elements