Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. forwards :: Backwards (f :: k -> Type) (a :: k) -> f a

    transformers Control.Applicative.Backwards

    No documentation available.

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

    QuickCheck Test.QuickCheck

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

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

    QuickCheck Test.QuickCheck

    Like forAll, but without printing the generated value.

  4. 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 [].

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

    QuickCheck Test.QuickCheck

    Like forAll, but with an explicitly given show function.

  6. 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.

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

    QuickCheck Test.QuickCheck

    Like forAllShrink, but without printing the generated value.

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

    QuickCheck Test.QuickCheck

    Like forAllShrink, but with an explicitly given show function.

  9. forAllProperties :: Q Exp

    QuickCheck Test.QuickCheck.All

    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 [].

  10. forAllM :: forall (m :: Type -> Type) a b . (Monad m, Show a) => Gen a -> (a -> PropertyM m b) -> PropertyM m b

    QuickCheck Test.QuickCheck.Monadic

    Quantification in monadic properties to pick, with a notation similar to forAll. Note: values generated by forAllM do not shrink.

Page 10 of many | Previous | Next