quickcheck-instances-0.3.23: Common quickcheck instances

Safe HaskellSafe
LanguageHaskell2010

Test.QuickCheck.Instances.Semigroup

Contents

Orphan instances

Arbitrary1 Min Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (Min a) #

liftShrink :: (a -> [a]) -> Min a -> [Min a] #

Arbitrary1 Max Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (Max a) #

liftShrink :: (a -> [a]) -> Max a -> [Max a] #

Arbitrary1 First Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (First a) #

liftShrink :: (a -> [a]) -> First a -> [First a] #

Arbitrary1 Last Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (Last a) #

liftShrink :: (a -> [a]) -> Last a -> [Last a] #

Arbitrary1 WrappedMonoid Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (WrappedMonoid a) #

liftShrink :: (a -> [a]) -> WrappedMonoid a -> [WrappedMonoid a] #

Arbitrary1 Option Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (Option a) #

liftShrink :: (a -> [a]) -> Option a -> [Option a] #

Arbitrary1 NonEmpty Source # 
Instance details

Methods

liftArbitrary :: Gen a -> Gen (NonEmpty a) #

liftShrink :: (a -> [a]) -> NonEmpty a -> [NonEmpty a] #

Function a => Function (Min a) Source # 
Instance details

Methods

function :: (Min a -> b) -> Min a :-> b #

Function a => Function (Max a) Source # 
Instance details

Methods

function :: (Max a -> b) -> Max a :-> b #

Function a => Function (First a) Source # 
Instance details

Methods

function :: (First a -> b) -> First a :-> b #

Function a => Function (Last a) Source # 
Instance details

Methods

function :: (Last a -> b) -> Last a :-> b #

Function a => Function (WrappedMonoid a) Source # 
Instance details

Methods

function :: (WrappedMonoid a -> b) -> WrappedMonoid a :-> b #

Function a => Function (Option a) Source # 
Instance details

Methods

function :: (Option a -> b) -> Option a :-> b #

Function a => Function (NonEmpty a) Source # 
Instance details

Methods

function :: (NonEmpty a -> b) -> NonEmpty a :-> b #

Arbitrary a => Arbitrary (Min a) Source # 
Instance details

Methods

arbitrary :: Gen (Min a) #

shrink :: Min a -> [Min a] #

Arbitrary a => Arbitrary (Max a) Source # 
Instance details

Methods

arbitrary :: Gen (Max a) #

shrink :: Max a -> [Max a] #

Arbitrary a => Arbitrary (First a) Source # 
Instance details

Methods

arbitrary :: Gen (First a) #

shrink :: First a -> [First a] #

Arbitrary a => Arbitrary (Last a) Source # 
Instance details

Methods

arbitrary :: Gen (Last a) #

shrink :: Last a -> [Last a] #

Arbitrary a => Arbitrary (WrappedMonoid a) Source # 
Instance details

Arbitrary a => Arbitrary (Option a) Source # 
Instance details

Methods

arbitrary :: Gen (Option a) #

shrink :: Option a -> [Option a] #

Arbitrary a => Arbitrary (NonEmpty a) Source # 
Instance details

Methods

arbitrary :: Gen (NonEmpty a) #

shrink :: NonEmpty a -> [NonEmpty a] #

CoArbitrary a => CoArbitrary (Min a) Source # 
Instance details

Methods

coarbitrary :: Min a -> Gen b -> Gen b #

CoArbitrary a => CoArbitrary (Max a) Source # 
Instance details

Methods

coarbitrary :: Max a -> Gen b -> Gen b #

CoArbitrary a => CoArbitrary (First a) Source # 
Instance details

Methods

coarbitrary :: First a -> Gen b -> Gen b #

CoArbitrary a => CoArbitrary (Last a) Source # 
Instance details

Methods

coarbitrary :: Last a -> Gen b -> Gen b #

CoArbitrary a => CoArbitrary (WrappedMonoid a) Source # 
Instance details

Methods

coarbitrary :: WrappedMonoid a -> Gen b -> Gen b #

CoArbitrary a => CoArbitrary (Option a) Source # 
Instance details

Methods

coarbitrary :: Option a -> Gen b -> Gen b #

CoArbitrary a => CoArbitrary (NonEmpty a) Source # 
Instance details

Methods

coarbitrary :: NonEmpty a -> Gen b -> Gen b #