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. equivalentWhenFirstSucceedsOnArbitrary :: (Show a, Arbitrary a, Show b, Eq b, CanFail f) => (a -> f b) -> (a -> b) -> Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    No documentation available.

  7. functorSpecOnArbitrary :: forall (f :: Type -> Type) . (Eq (f Int), Show (f Int), Functor f, Typeable f, Arbitrary (f Int)) => Spec

    genvalidity-sydtest Test.Syd.Validity

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

    functorSpecOnArbitrary @[]
    

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

    genvalidity-sydtest Test.Syd.Validity

    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)
    

  9. identityOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> a -> Property

    genvalidity-sydtest Test.Syd.Validity

    identityOnArbitrary ((*) :: Int -> Int -> Int) 1
    
    identityOnArbitrary ((+) :: Int -> Int -> Int) 0
    

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

Page 34 of many | Previous | Next