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.

  1. 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)
    

  2. 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)
    

  3. 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.

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

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

    No documentation available.

  5. equivalentWhenFirstSucceedsOnArbitrary2 :: (Show a, Arbitrary a, Show b, Arbitrary b, Show c, Eq c, CanFail f) => (a -> b -> f c) -> (a -> b -> c) -> Property

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

    No documentation available.

  6. equivalentWhenSecondSucceedsOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b, CanFail f) => (a -> b) -> (a -> f b) -> Property

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

    No documentation available.

  7. equivalentWhenSecondSucceedsOnArbitrary2 :: (Show a, Arbitrary a, Show b, Arbitrary b, Show c, Eq c, CanFail f) => (a -> b -> c) -> (a -> b -> f c) -> Property

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

    No documentation available.

  8. equivalentWhenSucceedOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b, CanFail f) => (a -> f b) -> (a -> f b) -> Property

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

    No documentation available.

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

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

    No documentation available.

  10. idempotentOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a) -> Property

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

    id is idempotent for any type:

    idempotentOnArbitrary (id :: Int -> Int)
    
    const, given any input, is idempotent for any type as well:
    \int -> idempotentOnArbitrary (const int :: Int -> Int)
    

Page 39 of many | Previous | Next