Hoogle Search
Within LTS Haskell 24.32 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity No documentation available.
eqSpec :: forall a (outers :: [Type]) . (Show a, Eq a, Typeable a, GenValid a) => TestDef outers ()genvalidity-sydtest Test.Syd.Validity.Eq Standard test spec for properties of Eq instances for valid values Example usage:
eqSpec @Int
-
genvalidity-sydtest Test.Syd.Validity.Eq Standard test spec for properties of Eq instances for arbitrary values Example usage:
eqSpecOnArbitrary @Int
-
genvalidity-sydtest Test.Syd.Validity.Eq Standard test spec for properties of Eq instances for values generated by a given generator (and name for that generator). Example usage:
eqSpecOnGen ((* 2) <$> genValid @Int) "even"
equivalent :: (Show a, GenValid a, Show b, Eq b) => (a -> b) -> (a -> b) -> Propertygenvalidity-sydtest Test.Syd.Validity.Functions.Equivalence No documentation available.
-
genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence No documentation available.
-
genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence No documentation available.
equivalentOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b) => (a -> b) -> (a -> b) -> Propertygenvalidity-sydtest Test.Syd.Validity.Functions.Equivalence equivalentOnArbitrary ((* 2) . (+ 1)) ((+ 2) . (* 2) :: Int -> Int)
-
genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence equivalentOnArbitrary2 (+) ((+) :: Int -> Int -> Int)