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

    genvalidity-sydtest Test.Syd.Validity.Functions.Inverse

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity.Functions.Inverse

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity.Functions.Inverse

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity.Functions.Inverse

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

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

    genvalidity-sydtest Test.Syd.Validity.Functions.Validity

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

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

    genvalidity-sydtest Test.Syd.Validity.Functions.Validity

    No documentation available.

  7. 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.Functions.Validity

    No documentation available.

  8. functorSpecOnArbitrary :: forall (f :: Type -> Type) . (Eq (f Int), Show (f Int), Functor f, Typeable f, Arbitrary (f Int)) => Spec

    genvalidity-sydtest Test.Syd.Validity.Functor

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

    functorSpecOnArbitrary @[]
    

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

    genvalidity-sydtest Test.Syd.Validity.Monad

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

    monadSpecOnArbitrary @[]
    

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

    genvalidity-sydtest Test.Syd.Validity.Monoid

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

    monoidSpecOnArbitrary @[Int]
    

Page 40 of many | Previous | Next