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

    genvalidity-property Test.Validity.Functions.Inverse

    No documentation available.

  2. inverseFunctionsIfSucceedOnArbitrary :: (Show a, Eq a, Arbitrary a, CanFail f, CanFail g) => (a -> f b) -> (b -> g a) -> Property

    genvalidity-property Test.Validity.Functions.Inverse

    No documentation available.

  3. inverseFunctionsOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> b) -> (b -> a) -> Property

    genvalidity-property Test.Validity.Functions.Inverse

    id is its own inverse function for every type: prop> inverseFunctionsOnArbitrary id (id :: Int -> Int)

  4. producesValidsOnArbitrary :: (Show a, Show b, Arbitrary a, Validity b) => (a -> b) -> Property

    genvalidity-property Test.Validity.Functions.Validity

    The function produces valid output when the input is generated by arbitrary

  5. producesValidsOnArbitrary2 :: (Show a, Show b, Show c, Arbitrary a, Arbitrary b, Validity c) => (a -> b -> c) -> Property

    genvalidity-property Test.Validity.Functions.Validity

    No documentation available.

  6. producesValidsOnArbitrary3 :: (Show a, Show b, Show c, Show d, Arbitrary a, Arbitrary b, Arbitrary c, Validity d) => (a -> b -> c -> d) -> Property

    genvalidity-property Test.Validity.Functions.Validity

    No documentation available.

  7. associativeOnArbitrary :: (Show a, Eq a, Arbitrary a) => (a -> a -> a) -> Property

    genvalidity-property Test.Validity.Operations.Associativity

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

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

    genvalidity-property Test.Validity.Operations.Commutativity

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

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

    genvalidity-property Test.Validity.Operations.Identity

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

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

    genvalidity-property Test.Validity.Operations.Identity

    leftIdentityOnArbitrary (flip ((^) :: Int -> Int -> Int)) 1
    

Page 48 of many | Previous | Next