quickcheck-instances-0.3.19: Common quickcheck instances
Test.QuickCheck.Instances.Semigroup
Contents
Methods
liftArbitrary :: Gen a -> Gen (Min a) #
liftShrink :: (a -> [a]) -> Min a -> [Min a] #
liftArbitrary :: Gen a -> Gen (Max a) #
liftShrink :: (a -> [a]) -> Max a -> [Max a] #
liftArbitrary :: Gen a -> Gen (First a) #
liftShrink :: (a -> [a]) -> First a -> [First a] #
liftArbitrary :: Gen a -> Gen (Last a) #
liftShrink :: (a -> [a]) -> Last a -> [Last a] #
liftArbitrary :: Gen a -> Gen (WrappedMonoid a) #
liftShrink :: (a -> [a]) -> WrappedMonoid a -> [WrappedMonoid a] #
liftArbitrary :: Gen a -> Gen (Option a) #
liftShrink :: (a -> [a]) -> Option a -> [Option a] #
liftArbitrary :: Gen a -> Gen (NonEmpty a) #
liftShrink :: (a -> [a]) -> NonEmpty a -> [NonEmpty a] #
function :: (Min a -> b) -> Min a :-> b #
function :: (Max a -> b) -> Max a :-> b #
function :: (First a -> b) -> First a :-> b #
function :: (Last a -> b) -> Last a :-> b #
function :: (WrappedMonoid a -> b) -> WrappedMonoid a :-> b #
function :: (Option a -> b) -> Option a :-> b #
function :: (NonEmpty a -> b) -> NonEmpty a :-> b #
arbitrary :: Gen (Min a) #
shrink :: Min a -> [Min a] #
arbitrary :: Gen (Max a) #
shrink :: Max a -> [Max a] #
arbitrary :: Gen (First a) #
shrink :: First a -> [First a] #
arbitrary :: Gen (Last a) #
shrink :: Last a -> [Last a] #
arbitrary :: Gen (WrappedMonoid a) #
shrink :: WrappedMonoid a -> [WrappedMonoid a] #
arbitrary :: Gen (Option a) #
shrink :: Option a -> [Option a] #
arbitrary :: Gen (NonEmpty a) #
shrink :: NonEmpty a -> [NonEmpty a] #
coarbitrary :: Min a -> Gen b -> Gen b #
coarbitrary :: Max a -> Gen b -> Gen b #
coarbitrary :: First a -> Gen b -> Gen b #
coarbitrary :: Last a -> Gen b -> Gen b #
coarbitrary :: WrappedMonoid a -> Gen b -> Gen b #
coarbitrary :: Option a -> Gen b -> Gen b #
coarbitrary :: NonEmpty a -> Gen b -> Gen b #