Hoogle Search
Within LTS Haskell 24.64 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
genGeneratesValid :: (Show a, Validity a) => Gen a -> Propertygenvalidity-sydtest Test.Syd.Validity.GenValidity.Property The given generator generates only valid data points
module Test.Syd.Validity.
Monoid Monoid properties You will need TypeApplications to use these.
-
genvalidity-sydtest Test.Syd.Validity.Monoid Standard test spec for properties of Monoid instances for valid values Example usage:
monoidSpec @[Int]
-
genvalidity-sydtest Test.Syd.Validity.Monoid Standard test spec for properties of Monoid instances for arbitrary values Example usage:
monoidSpecOnArbitrary @[Int]
-
genvalidity-sydtest Test.Syd.Validity.Monoid Standard test spec for properties of Monoid instances for values generated by a given generator (and name for that generator). Example usage:
monoidSpecOnGen (pure "a") "singleton list of 'a'"
leftIdentity :: (Show a, Eq a, GenValid a) => (b -> a -> a) -> b -> Propertygenvalidity-sydtest Test.Syd.Validity.Operations.Identity leftIdentity (flip ((^) :: Int -> Int -> Int)) 1
leftIdentityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (b -> a -> a) -> b -> Propertygenvalidity-sydtest Test.Syd.Validity.Operations.Identity leftIdentityOnArbitrary (flip ((^) :: Int -> Int -> Int)) 1
leftIdentityOnElemWithEquality :: (b -> a -> a) -> (a -> a -> Bool) -> b -> a -> Boolgenvalidity-sydtest Test.Syd.Validity.Operations.Identity leftIdentityOnGen :: (Show a, Eq a) => (b -> a -> a) -> b -> Gen a -> (a -> [a]) -> Propertygenvalidity-sydtest Test.Syd.Validity.Operations.Identity No documentation available.
-
genvalidity-sydtest Test.Syd.Validity.Operations.Identity No documentation available.