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. associativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> Property

    genvalidity-hspec Test.Validity

    associativeOnArbitrary ((*) :: Int -> Int -> Int)
    
    associativeOnArbitrary ((+) :: Int -> Int -> Int)
    

  2. commutativeOnArbitrary :: (Show a, Show b, Eq b, Arbitrary a) => (a -> a -> b) -> Property

    genvalidity-hspec Test.Validity

    commutativeOnArbitrary ((+) :: Int -> Int -> Int)
    
    commutativeOnArbitrary ((*) :: Int -> Int -> Int)
    
    commutativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> Property

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

    genvalidity-hspec Test.Validity

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

    eqSpecOnArbitrary @Int
    

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

    genvalidity-hspec Test.Validity

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

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

    genvalidity-hspec Test.Validity

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

  6. 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-hspec Test.Validity

    No documentation available.

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

    genvalidity-hspec Test.Validity

    No documentation available.

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

    genvalidity-hspec Test.Validity

    No documentation available.

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

    genvalidity-hspec Test.Validity

    No documentation available.

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

    genvalidity-hspec Test.Validity

    No documentation available.

Page 30 of many | Previous | Next