Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. liftCallCC :: Monoid w => CallCC m (a, w) (b, w) -> CallCC (WriterT w m) a b

    transformers Control.Monad.Trans.Writer.Strict

    Lift a callCC operation to the new monad.

  2. newtype Small a

    QuickCheck Test.QuickCheck

    Small x: generates values of x drawn from a small range. The opposite of Large.

  3. Small :: a -> Small a

    QuickCheck Test.QuickCheck

    No documentation available.

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

    QuickCheck Test.QuickCheck

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

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

    QuickCheck Test.QuickCheck

    Like forAll, but without printing the generated value.

  6. forAllProperties :: Q Exp

    QuickCheck Test.QuickCheck

    Test all properties in the current module, using a custom quickCheck function. The same caveats as with quickCheckAll apply. $forAllProperties has type (Property -> IO Result) -> IO Bool. An example invocation is $forAllProperties quickCheckResult, which does the same thing as $quickCheckAll. forAllProperties has the same issue with scoping as quickCheckAll: see the note there about return [].

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

    QuickCheck Test.QuickCheck

    Like forAll, but with an explicitly given show function.

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

    QuickCheck Test.QuickCheck

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

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

    QuickCheck Test.QuickCheck

    Like forAllShrink, but without printing the generated value.

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

    QuickCheck Test.QuickCheck

    Like forAllShrink, but with an explicitly given show function.

Page 196 of many | Previous | Next