Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

  1. forAll :: (Show a, Testable prop) => Gen a -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Explicit universal quantification: uses an explicitly given test case generator.

  2. forAllBlind :: Testable prop => Gen a -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAll, but without printing the generated value.

  3. forAllShow :: Testable prop => Gen a -> (a -> String) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAll, but with an explicitly given show function.

  4. forAllShrink :: (Show a, Testable prop) => Gen a -> (a -> [a]) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAll, but tries to shrink the argument for failing test cases.

  5. forAllShrinkBlind :: Testable prop => Gen a -> (a -> [a]) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAllShrink, but without printing the generated value.

  6. forAllShrinkShow :: Testable prop => Gen a -> (a -> [a]) -> (a -> String) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Like forAllShrink, but with an explicitly given show function.

  7. getSmall :: Small a -> a

    tasty-quickcheck Test.Tasty.QuickCheck

    No documentation available.

  8. propertyForAllShrinkShow :: Testable prop => Gen a -> (a -> [a]) -> (a -> [String]) -> (a -> prop) -> Property

    tasty-quickcheck Test.Tasty.QuickCheck

    Optional; used internally in order to improve shrinking. Tests a property but also quantifies over an extra value (with a custom shrink and show function). The Testable instance for functions defines propertyForAllShrinkShow in a way that improves shrinking.

  9. catchAll :: (HasCallStack, MonadCatch m) => m a -> (SomeException -> m a) -> m a

    exceptions Control.Monad.Catch

    Catches all exceptions, and somewhat defeats the purpose of the extensible exception system. Use sparingly. NOTE This catches all exceptions, but if the monad supports other ways of aborting the computation, those other kinds of errors will not be caught.

  10. finally :: (HasCallStack, MonadMask m) => m a -> m b -> m a

    exceptions Control.Monad.Catch

    Perform an action with a finalizer action that is run, even if an error occurs.

Page 204 of many | Previous | Next