Hoogle Search

Within LTS Haskell 24.65 (ghc-9.10.3)

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

  1. shouldBeValid :: (Show a, Validity a) => a -> Expectation

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  2. shrinkPreservesValidOnGenValid :: (Show a, GenValid a) => (a -> [a]) -> Property

    genvalidity-sydtest Test.Syd.Validity

    shrinkPreservesValidOnGenValid ((:[]) :: Int -> [Int])
    

  3. shrinkValidPreservesValid :: (Show a, GenValid a) => Gen a -> Property

    genvalidity-sydtest Test.Syd.Validity

    shrinkValidPreservesValid (pure 5 :: Gen Rational)
    

  4. shrinkValidPreservesValidOnGenValid :: (Show a, GenValid a) => Property

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  5. shrinkValidSpec :: forall a (outers :: [Type]) . (Show a, Eq a, Typeable a, GenValid a) => TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  6. shrinkValidSpecWithLimit :: forall a (outers :: [Type]) . (Show a, Eq a, Typeable a, GenValid a) => Int -> TestDef outers ()

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

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

    genvalidity-sydtest Test.Syd.Validity

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

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

    genvalidity-sydtest Test.Syd.Validity

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

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

    genvalidity-sydtest Test.Syd.Validity

    No documentation available.

  10. 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-sydtest Test.Syd.Validity

    No documentation available.

Page 701 of many | Previous | Next