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. sequence_ :: (Foldable t, Monad m) => t (m a) -> m ()

    hedgehog Hedgehog.Internal.Prelude

    Evaluate each monadic action in the structure from left to right, and ignore the results. For a version that doesn't ignore the results see sequence. sequence_ is just like sequenceA_, but specialised to monadic actions.

  2. dequeueMVar :: MVar [(TaskIndex, a)] -> (TasksRemaining -> TaskIndex -> a -> IO b) -> IO (Maybe (TaskIndex, b))

    hedgehog Hedgehog.Internal.Queue

    No documentation available.

  3. checkSequential :: MonadIO m => Group -> m Bool

    hedgehog Hedgehog.Internal.Runner

    Check a group of properties sequentially. Using Template Haskell for property discovery:

    tests :: IO Bool
    tests =
    checkSequential $$(discover)
    
    With manually specified properties:
    tests :: IO Bool
    tests =
    checkSequential $ Group "Test.Example" [
    ("prop_reverse", prop_reverse)
    ]
    

  4. Require :: (state Symbolic -> input Symbolic -> Bool) -> Callback (input :: (Type -> Type) -> Type) output (state :: (Type -> Type) -> Type)

    hedgehog Hedgehog.Internal.State

    A pre-condition for a command that must be verified before the command can be executed. This is mainly used during shrinking to ensure that it is still OK to run a command despite the fact that some previously executed commands may have been removed from the sequence.

  5. newtype Sequential (m :: Type -> Type) (state :: Type -> Type -> Type)

    hedgehog Hedgehog.Internal.State

    A sequence of actions to execute.

  6. Sequential :: [Action m state] -> Sequential (m :: Type -> Type) (state :: (Type -> Type) -> Type)

    hedgehog Hedgehog.Internal.State

    No documentation available.

  7. actionRequire :: Action (m :: Type -> Type) (state :: (Type -> Type) -> Type) -> state Symbolic -> input Symbolic -> Bool

    hedgehog Hedgehog.Internal.State

    No documentation available.

  8. executeSequential :: (MonadTest m, MonadCatch m, HasCallStack) => (forall (v :: Type -> Type) . () => state v) -> Sequential m state -> m ()

    hedgehog Hedgehog.Internal.State

    Executes a list of actions sequentially, verifying that all post-conditions are met and no exceptions are thrown. To generate a sequence of actions to execute, see the sequential combinator in the Hedgehog.Gen module.

  9. sequential :: forall gen (m :: Type -> Type) state . (MonadGen gen, MonadTest m) => Range Int -> (forall (v :: Type -> Type) . () => state v) -> [Command gen m state] -> gen (Sequential m state)

    hedgehog Hedgehog.Internal.State

    Generates a sequence of actions from an initial model state and set of commands.

  10. sequentialActions :: Sequential (m :: Type -> Type) (state :: (Type -> Type) -> Type) -> [Action m state]

    hedgehog Hedgehog.Internal.State

    The sequence of actions.

Page 169 of many | Previous | Next