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. monadSpecOnArbitrary :: forall (f :: Type -> Type) . (Eq (f Int), Show (f Int), Monad f, Typeable f, Arbitrary (f Int)) => Spec

    genvalidity-hspec Test.Validity

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

    monadSpecOnArbitrary @[]
    

  2. monoidSpecOnArbitrary :: (Show a, Eq a, Monoid a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity

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

    monoidSpecOnArbitrary @[Int]
    

  3. ordSpecOnArbitrary :: (Show a, Ord a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity

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

    ordSpecOnArbitrary @Int
    

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

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

    No documentation available.

  7. reflexivityOnArbitrary :: (Show a, Arbitrary a) => (a -> a -> Bool) -> Property

    genvalidity-hspec Test.Validity

    reflexivityOnArbitrary ((<=) :: Int -> Int -> Bool)
    
    reflexivityOnArbitrary ((==) :: Int -> Int -> Bool)
    
    reflexivityOnArbitrary ((>=) :: Int -> Int -> Bool)
    
    reflexivityOnArbitrary (Data.List.isPrefixOf :: [Int] -> [Int] -> Bool)
    
    reflexivityOnArbitrary (Data.List.isSuffixOf :: [Int] -> [Int] -> Bool)
    
    reflexivityOnArbitrary (Data.List.isInfixOf :: [Int] -> [Int] -> Bool)
    

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

    genvalidity-hspec Test.Validity

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

  9. showReadSpecOnArbitrary :: (Show a, Eq a, Read a, Typeable a, Arbitrary a) => Spec

    genvalidity-hspec Test.Validity

    Standard test spec for properties of Show and Read instances for arbitrary values Example usage:

    showReadSpecOnArbitrary @Double
    

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

    genvalidity-hspec Test.Validity

    The function succeeds if the input is generated by arbitrary

Page 32 of many | Previous | Next