Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
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
equivalentOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b) => (a -> b) -> (a -> b) -> Propertygenvalidity-hspec Test.Validity equivalentOnArbitrary ((* 2) . (+ 1)) ((+ 2) . (* 2) :: Int -> Int)
-
genvalidity-hspec Test.Validity equivalentOnArbitrary2 (+) ((+) :: Int -> Int -> Int)
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.
-
genvalidity-hspec Test.Validity No documentation available.