quickcheck-instances-0.3.33: Common quickcheck instances

Safe Haskell | Safe-Inferred
Language | Haskell2010

Test.QuickCheck.Instances.Transformer

Contents

- Orphan instances

# Orphan instances

Arbitrary1 f => Arbitrary1 (Lift f) Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Lift f a) Source # liftShrink :: (a -> [a]) -> Lift f a -> [Lift f a] Source #
Arbitrary1 m => Arbitrary1 (MaybeT m) Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (MaybeT m a) Source # liftShrink :: (a -> [a]) -> MaybeT m a -> [MaybeT m a] Source #
(Arbitrary1 f, Arbitrary a) => Arbitrary (Lift f a) Source # |
Instance details Methods arbitrary :: Gen (Lift f a) Source # shrink :: Lift f a -> [Lift f a] Source #
(Arbitrary1 m, Arbitrary a) => Arbitrary (MaybeT m a) Source # |
Instance details Methods arbitrary :: Gen (MaybeT m a) Source # shrink :: MaybeT m a -> [MaybeT m a] Source #
Arbitrary1 f => Arbitrary1 (Backwards f) Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Backwards f a) Source # liftShrink :: (a -> [a]) -> Backwards f a -> [Backwards f a] Source #
Arbitrary1 f => Arbitrary1 (Reverse f) Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Reverse f a) Source # liftShrink :: (a -> [a]) -> Reverse f a -> [Reverse f a] Source #
(Arbitrary1 f, Arbitrary a) => Arbitrary (Backwards f a) Source # |
Instance details Methods arbitrary :: Gen (Backwards f a) Source # shrink :: Backwards f a -> [Backwards f a] Source #
(Arbitrary1 f, Arbitrary a) => Arbitrary (Reverse f a) Source # |
Instance details Methods arbitrary :: Gen (Reverse f a) Source # shrink :: Reverse f a -> [Reverse f a] Source #
(Arbitrary1 f, Arbitrary1 g) => Arbitrary1 (Sum f g) Source # |
Instance details Methods liftArbitrary :: Gen a -> Gen (Sum f g a) Source # liftShrink :: (a -> [a]) -> Sum f g a -> [Sum f g a] Source #
(Arbitrary1 f, Arbitrary1 g, Arbitrary a) => Arbitrary (Sum f g a) Source # |
Instance details Methods arbitrary :: Gen (Sum f g a) Source # shrink :: Sum f g a -> [Sum f g a] Source #