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.

  1. applicativeSpecOnArbitrary :: forall (f :: Type -> Type) . (Eq (f Int), Show (f Int), Applicative f, Typeable f, Arbitrary (f Int)) => Spec

    genvalidity-sydtest Test.Syd.Validity.Applicative

    Standard test spec for properties of Applicative instances for values generated with Arbitrary instances Example usage:

    applicativeSpecOnArbitrary @[]
    

  2. eqSpecOnArbitrary :: (Show a, Eq a, Typeable a, Arbitrary a) => Spec

    genvalidity-sydtest Test.Syd.Validity.Eq

    Standard test spec for properties of Eq instances for arbitrary values Example usage:

    eqSpecOnArbitrary @Int
    

  3. succeedsOnArbitrary :: (Show a, Show (f b), Arbitrary a, CanFail f) => (a -> f b) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.CanFail

    The function succeeds if the input is generated by arbitrary

  4. succeedsOnArbitrary2 :: (Show a, Show b, Show (f c), Arbitrary a, Arbitrary b, CanFail f) => (a -> b -> f c) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.CanFail

    No documentation available.

  5. validIfSucceedsOnArbitrary :: (Show a, Show b, Arbitrary a, Validity b, CanFail f) => (a -> f b) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.CanFail

    The function produces output that satisfies isValid if it is given input that is generated by arbitrary.

  6. validIfSucceedsOnArbitrary2 :: (Show a, Show b, Show c, Arbitrary a, Arbitrary b, Validity c, CanFail f) => (a -> b -> f c) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.CanFail

    No documentation available.

  7. validIfSucceedsOnArbitrary3 :: (Show a, Show b, Show c, Show d, Arbitrary a, Arbitrary b, Arbitrary c, Validity d, CanFail f) => (a -> b -> c -> f d) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.CanFail

    No documentation available.

  8. equivalentOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b) => (a -> b) -> (a -> b) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    equivalentOnArbitrary ((* 2) . (+ 1)) ((+ 2) . (* 2) :: Int -> Int)
    

  9. equivalentOnArbitrary2 :: (Show a, Arbitrary a, Show b, Arbitrary b, Show c, Eq c) => (a -> b -> c) -> (a -> b -> c) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    equivalentOnArbitrary2 (+) ((+) :: Int -> Int -> Int)
    

  10. equivalentOnArbitrary3 :: (Show a, Arbitrary a, Show b, Arbitrary b, Show c, Arbitrary c, Show d, Eq d) => (a -> b -> c -> d) -> (a -> b -> c -> d) -> Property

    genvalidity-sydtest Test.Syd.Validity.Functions.Equivalence

    No documentation available.

Page 37 of many | Previous | Next