quickcheck-instances-0.3.33: Common quickcheck instances

Safe Haskell | Safe-Inferred
Language | Haskell2010

Test.QuickCheck.Instances.Semigroup

Contents

- Orphan instances

# Orphan instances

Arbitrary1 First Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (First a) Source # liftShrink :: (a -> [a]) -> First a -> [First a] Source #
Arbitrary1 Last Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Last a) Source # liftShrink :: (a -> [a]) -> Last a -> [Last a] Source #
Arbitrary1 Max Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Max a) Source # liftShrink :: (a -> [a]) -> Max a -> [Max a] Source #
Arbitrary1 Min Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Min a) Source # liftShrink :: (a -> [a]) -> Min a -> [Min a] Source #
Arbitrary1 WrappedMonoid Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (WrappedMonoid a) Source # liftShrink :: (a -> [a]) -> WrappedMonoid a -> [WrappedMonoid a] Source #
Arbitrary1 NonEmpty Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (NonEmpty a) Source # liftShrink :: (a -> [a]) -> NonEmpty a -> [NonEmpty a] Source #
Arbitrary a => Arbitrary (First a) Source # |
Instance details Methods arbitrary :: Gen (First a) Source # shrink :: First a -> [First a] Source #
Arbitrary a => Arbitrary (Last a) Source # |
Instance details Methods arbitrary :: Gen (Last a) Source # shrink :: Last a -> [Last a] Source #
Arbitrary a => Arbitrary (Max a) Source # |
Instance details Methods arbitrary :: Gen (Max a) Source # shrink :: Max a -> [Max a] Source #
Arbitrary a => Arbitrary (Min a) Source # |
Instance details Methods arbitrary :: Gen (Min a) Source # shrink :: Min a -> [Min a] Source #
Arbitrary a => Arbitrary (WrappedMonoid a) Source # |
Instance details Methods arbitrary :: Gen (WrappedMonoid a) Source # shrink :: WrappedMonoid a -> [WrappedMonoid a] Source #
Arbitrary a => Arbitrary (NonEmpty a) Source # |
Instance details Methods arbitrary :: Gen (NonEmpty a) Source # shrink :: NonEmpty a -> [NonEmpty a] Source #
CoArbitrary a => CoArbitrary (First a) Source # |
Instance details Methods coarbitrary :: First a -> Gen b -> Gen b Source #
CoArbitrary a => CoArbitrary (Last a) Source # |
Instance details Methods coarbitrary :: Last a -> Gen b -> Gen b Source #
CoArbitrary a => CoArbitrary (Max a) Source # |
Instance details Methods coarbitrary :: Max a -> Gen b -> Gen b Source #
CoArbitrary a => CoArbitrary (Min a) Source # |
Instance details Methods coarbitrary :: Min a -> Gen b -> Gen b Source #
CoArbitrary a => CoArbitrary (WrappedMonoid a) Source # |
Instance details Methods coarbitrary :: WrappedMonoid a -> Gen b -> Gen b Source #
CoArbitrary a => CoArbitrary (NonEmpty a) Source # |
Instance details Methods coarbitrary :: NonEmpty a -> Gen b -> Gen b Source #
Function a => Function (First a) Source # |
Instance details Methods function :: (First a -> b) -> First a :-> b Source #
Function a => Function (Last a) Source # |
Instance details Methods function :: (Last a -> b) -> Last a :-> b Source #
Function a => Function (Max a) Source # |
Instance details Methods function :: (Max a -> b) -> Max a :-> b Source #
Function a => Function (Min a) Source # |
Instance details Methods function :: (Min a -> b) -> Min a :-> b Source #
Function a => Function (WrappedMonoid a) Source # |
Instance details Methods function :: (WrappedMonoid a -> b) -> WrappedMonoid a :-> b Source #
Function a => Function (NonEmpty a) Source # |
Instance details Methods function :: (NonEmpty a -> b) -> NonEmpty a :-> b Source #