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.
showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Specgenvalidity-hspec Test.Validity.Show Standard test spec for properties of Show and Read instances for arbitrary values Example usage:
showReadSpecOnArbitrary @Double
antireflexivityOnArbitrary :: (Show a, Arbitrary a) => (a -> a -> Bool) -> Propertygenvalidity-sydtest Test.Syd.Validity antireflexivityOnArbitrary ((<) :: Int -> Int -> Bool)
antireflexivityOnArbitrary ((/=) :: Int -> Int -> Bool)
antireflexivityOnArbitrary ((>) :: Int -> Int -> Bool)
antisymmetryOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> Bool) -> Propertygenvalidity-sydtest Test.Syd.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-sydtest Test.Syd.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-sydtest Test.Syd.Validity associativeOnArbitrary ((*) :: Int -> Int -> Int)
associativeOnArbitrary ((+) :: Int -> Int -> Int)
commutativeOnArbitrary :: (Show a, Show b, Eq b, Arbitrary a) => (a -> a -> b) -> Propertygenvalidity-sydtest Test.Syd.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-sydtest Test.Syd.Validity Standard test spec for properties of Eq instances for arbitrary values Example usage:
eqSpecOnArbitrary @Int
equivalentOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b) => (a -> b) -> (a -> b) -> Propertygenvalidity-sydtest Test.Syd.Validity equivalentOnArbitrary ((* 2) . (+ 1)) ((+ 2) . (* 2) :: Int -> Int)
-
genvalidity-sydtest Test.Syd.Validity equivalentOnArbitrary2 (+) ((+) :: Int -> Int -> Int)
-
genvalidity-sydtest Test.Syd.Validity No documentation available.