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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

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

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

    genvalidity-sydtest Test.Syd.Validity

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

  5. monadSpecOnArbitrary :: forall (f :: Type -> Type) . (Eq (f Int), Show (f Int), Monad f, Typeable f, Arbitrary (f Int)) => Spec

    genvalidity-sydtest Test.Syd.Validity

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

    monadSpecOnArbitrary @[]
    

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

    genvalidity-sydtest Test.Syd.Validity

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

    monoidSpecOnArbitrary @[Int]
    

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

    genvalidity-sydtest Test.Syd.Validity

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

    ordSpecOnArbitrary @Int
    

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

    genvalidity-sydtest Test.Syd.Validity

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

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

Page 35 of many | Previous | Next