Hoogle Search
Within LTS Haskell 24.25 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
coarbitraryShow :: Show a => a -> Gen b -> Gen btasty-quickcheck Test.Tasty.QuickCheck coarbitrary helper for lazy people :-).
genericCoarbitrary :: (Generic a, GCoArbitrary (Rep a)) => a -> Gen b -> Gen btasty-quickcheck Test.Tasty.QuickCheck Generic CoArbitrary implementation.
liftArbitrary :: Arbitrary1 f => Gen a -> Gen (f a)tasty-quickcheck Test.Tasty.QuickCheck No documentation available.
liftArbitrary2 :: Arbitrary2 f => Gen a -> Gen b -> Gen (f a b)tasty-quickcheck Test.Tasty.QuickCheck No documentation available.
antireflexivityOnArbitrary :: (Show a, Arbitrary a) => (a -> a -> Bool) -> Propertygenvalidity-hspec Test.Validity antireflexivityOnArbitrary ((<) :: Int -> Int -> Bool)
antireflexivityOnArbitrary ((/=) :: Int -> Int -> Bool)
antireflexivityOnArbitrary ((>) :: Int -> Int -> Bool)
antisymmetryOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> Bool) -> Propertygenvalidity-hspec Test.Validity antisymmetryOnArbitrary ((>) :: Int -> Int -> Bool)
antisymmetryOnArbitrary ((>=) :: Int -> Int -> Bool)
antisymmetryOnArbitrary ((<=) :: Int -> Int -> Bool)
antisymmetryOnArbitrary ((<) :: Int -> Int -> Bool)
antisymmetryOnArbitrary (Data.List.isPrefixOf :: [Int] -> [Int] -> Bool)
antisymmetryOnArbitrary (Data.List.isSuffixOf :: [Int] -> [Int] -> Bool)
antisymmetryOnArbitrary (Data.List.isInfixOf :: [Int] -> [Int] -> Bool)
antisymmetryOnArbitrary ((\x y -> even x && odd y) :: Int -> Int -> Bool)
-
genvalidity-hspec Test.Validity Standard test spec for properties of Applicative instances for values generated with Arbitrary instances Example usage:
applicativeSpecOnArbitrary @[]
associativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> Propertygenvalidity-hspec Test.Validity associativeOnArbitrary ((*) :: Int -> Int -> Int)
associativeOnArbitrary ((+) :: Int -> Int -> Int)
commutativeOnArbitrary :: (Show a, Show b, Eq b, Arbitrary a) => (a -> a -> b) -> Propertygenvalidity-hspec Test.Validity commutativeOnArbitrary ((+) :: Int -> Int -> Int)
commutativeOnArbitrary ((*) :: Int -> Int -> Int)
commutativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> PropertyeqSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity Standard test spec for properties of Eq instances for arbitrary values Example usage:
eqSpecOnArbitrary @Int