hedgehog-quickcheck-0.1.1: Use QuickCheck generators in Hedgehog and vice versa.
Hedgehog.Gen.QuickCheck
Description
Use QuickCheck generators and Arbitrary instances with Hedgehog.
Arbitrary
arbitrary :: (Arbitrary a, MonadGen m) => m a Source #
Create a Hedgehog Gen from a QuickCheck Arbitrary instance.
Gen
The Arbitrary's shrink function is used to provide shrinking for the Hedgehog Gen.
shrink
quickcheck :: MonadGen m => Gen a -> m a Source #
Create a Hedgehog Gen from a QuickCheck Gen.
By default the Gen created will not have any shrinking, you can use Gen.shrink if you have a shrink function which you would like to apply.
Gen.