Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. shrinkValidSpec :: (Show a, Eq a, Typeable a, GenValid a) => Spec

    genvalidity-hspec Test.Validity

    No documentation available.

  2. shrinkValidSpecWithLimit :: (Show a, Eq a, Typeable a, GenValid a) => Int -> Spec

    genvalidity-hspec Test.Validity

    No documentation available.

  3. shrinkingStaysValid :: (Show a, Validity a) => Gen a -> (a -> [a]) -> Property

    genvalidity-hspec Test.Validity

    shrinkingStaysValid (pure 5 :: Gen Double) (\d -> [d - 1, d - 2])
    

  4. validIfSucceeds :: (Show a, Show b, GenValid a, Validity b, CanFail f) => (a -> f b) -> Property

    genvalidity-hspec Test.Validity

    The function produces output that satisfies isValid if it is given input that is generated by genValid.

  5. validIfSucceeds2 :: (Show a, Show b, Show c, GenValid a, GenValid b, Validity c, CanFail f) => (a -> b -> f c) -> Property

    genvalidity-hspec Test.Validity

    No documentation available.

  6. validIfSucceeds3 :: (Show a, Show b, Show c, Show d, GenValid a, GenValid b, GenValid c, Validity d, CanFail f) => (a -> b -> c -> f d) -> Property

    genvalidity-hspec Test.Validity

    No documentation available.

  7. validIfSucceedsOnArbitrary :: (Show a, Show b, Arbitrary a, Validity b, CanFail f) => (a -> f b) -> Property

    genvalidity-hspec Test.Validity

    The function produces output that satisfies isValid if it is given input that is generated by arbitrary.

  8. validIfSucceedsOnArbitrary2 :: (Show a, Show b, Show c, Arbitrary a, Arbitrary b, Validity c, CanFail f) => (a -> b -> f c) -> Property

    genvalidity-hspec Test.Validity

    No documentation available.

  9. validIfSucceedsOnArbitrary3 :: (Show a, Show b, Show c, Show d, Arbitrary a, Arbitrary b, Arbitrary c, Validity d, CanFail f) => (a -> b -> c -> f d) -> Property

    genvalidity-hspec Test.Validity

    No documentation available.

  10. validIfSucceedsOnGen :: (Show a, Show b, Validity b, CanFail f) => (a -> f b) -> Gen a -> (a -> [a]) -> Property

    genvalidity-hspec Test.Validity

    The function produces output that satisfies isValid if it is given input that is generated by the given generator.

Page 618 of many | Previous | Next