Hoogle Search

Within LTS Haskell 24.26 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

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

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

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

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

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

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

    genvalidity-property Test.Validity.Operations.Identity

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

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

    genvalidity-property Test.Validity.Operations.Identity

    rightIdentityOnArbitrary ((^) :: Int -> Int -> Int) 1
    

  9. antireflexivityOnArbitrary :: (Show a, Arbitrary a) => (a -> a -> Bool) -> Property

    genvalidity-property Test.Validity.Property

    antireflexivityOnArbitrary ((<) :: Int -> Int -> Bool)
    
    antireflexivityOnArbitrary ((/=) :: Int -> Int -> Bool)
    
    antireflexivityOnArbitrary ((>) :: Int -> Int -> Bool)
    

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

    genvalidity-property Test.Validity.Property

    antisymmetryOnArbitrary ((>) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary ((>=) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary ((<=) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary ((<) :: Int -> Int -> Bool)
    
    antisymmetryOnArbitrary (Data.List.isPrefixOf :: [Int] -> [Int] -> Bool)
    
    antisymmetryOnArbitrary (Data.List.isSuffixOf :: [Int] -> [Int] -> Bool)
    
    antisymmetryOnArbitrary (Data.List.isInfixOf :: [Int] -> [Int] -> Bool)
    
    antisymmetryOnArbitrary ((\x y -> even x && odd y) :: Int -> Int -> Bool)
    

Page 47 of many | Previous | Next