packages feed

registry-hedgehog 0.2.0.2 → 0.2.0.3

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

registry-hedgehog.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 71d7514eaca16590fd1d3a950213c3d06a9e027a09f89e28d05a1c38178c61cd+-- hash: fda61bb8a3bfeb3bcdb36cf42887c87cb1ea8b4d62ea9d7c72b825d1013ac02b  name:           registry-hedgehog-version:        0.2.0.2+version:        0.2.0.3 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
@@ -158,7 +158,7 @@  -- | Create a default generator for a small list of elements listOf :: forall a . GenIO a -> GenIO [a]-listOf = Gen.list (linear 0 3)+listOf = Gen.list (linear 0 10)  -- | Create a default generator for a list of elements of min elements and max elements listOfMinMax :: forall a . Int -> Int -> GenIO a -> GenIO [a]@@ -166,7 +166,7 @@  -- | Create a default generator for a small non-empty list of elements nonEmptyOf :: GenIO a -> GenIO (NonEmpty a)-nonEmptyOf = Gen.nonEmpty (linear 1 3)+nonEmptyOf = Gen.nonEmpty (linear 1 10)  -- | Create a default generator for a Maybe, choosing evenly between Nothing and Just maybeOf :: forall a . GenIO a -> GenIO (Maybe a)