quickcheck-instances-0.3.24: Common quickcheck instances
Test.QuickCheck.Instances.Strict
Contents
Since: 0.3.24
Methods
liftArbitrary :: Gen a -> Gen (Maybe a) #
liftShrink :: (a -> [a]) -> Maybe a -> [Maybe a] #
liftArbitrary2 :: Gen a -> Gen b -> Gen (Pair a b) #
liftShrink2 :: (a -> [a]) -> (b -> [b]) -> Pair a b -> [Pair a b] #
liftArbitrary2 :: Gen a -> Gen b -> Gen (These a b) #
liftShrink2 :: (a -> [a]) -> (b -> [b]) -> These a b -> [These a b] #
liftArbitrary2 :: Gen a -> Gen b -> Gen (Either a b) #
liftShrink2 :: (a -> [a]) -> (b -> [b]) -> Either a b -> [Either a b] #
function :: (Maybe a -> b) -> Maybe a :-> b #
arbitrary :: Gen (Maybe a) #
shrink :: Maybe a -> [Maybe a] #
liftArbitrary :: Gen a0 -> Gen (Pair a a0) #
liftShrink :: (a0 -> [a0]) -> Pair a a0 -> [Pair a a0] #
liftArbitrary :: Gen a0 -> Gen (These a a0) #
liftShrink :: (a0 -> [a0]) -> These a a0 -> [These a a0] #
liftArbitrary :: Gen a0 -> Gen (Either a a0) #
liftShrink :: (a0 -> [a0]) -> Either a a0 -> [Either a a0] #
coarbitrary :: Maybe a -> Gen b -> Gen b #
function :: (Pair a b -> b0) -> Pair a b :-> b0 #
function :: (These a b -> b0) -> These a b :-> b0 #
function :: (Either a b -> b0) -> Either a b :-> b0 #
arbitrary :: Gen (Pair a b) #
shrink :: Pair a b -> [Pair a b] #
arbitrary :: Gen (These a b) #
shrink :: These a b -> [These a b] #
arbitrary :: Gen (Either a b) #
shrink :: Either a b -> [Either a b] #
coarbitrary :: Pair a b -> Gen b0 -> Gen b0 #
coarbitrary :: These a b -> Gen b0 -> Gen b0 #
coarbitrary :: Either a b -> Gen b0 -> Gen b0 #