Hoogle Search

Within LTS Haskell 24.70 (ghc-9.10.3)

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

  1. withSetupAndTeardown :: forall (n :: Type -> Type) x y a . Program Basic n x -> (x -> Either Condition y -> Program Basic n a) -> (x -> Program Basic n y) -> Program (WithSetupAndTeardown x y) n a

    dejafu Test.DejaFu

    A combination of withSetup and withTeardown for convenience.

    withSetupAndTeardown setup teardown =
    withTeardown teardown . withSetup setup
    

  2. ResetMasking :: Bool -> MaskingState -> ThreadAction

    dejafu Test.DejaFu.Conc

    Return to an earlier masking state. If True, this is being used to return to the state of the masked block in the argument passed to a masked function.

  3. WillResetMasking :: Bool -> MaskingState -> Lookahead

    dejafu Test.DejaFu.Conc

    Will return to an earlier masking state. If True, this is being used to return to the state of the masked block in the argument passed to a masked function.

  4. WillSetMasking :: Bool -> MaskingState -> Lookahead

    dejafu Test.DejaFu.Conc

    Will set the masking state. If True, this is being used to set the masking state to the original state in the argument passed to a masked function.

  5. WillSetNumCapabilities :: Int -> Lookahead

    dejafu Test.DejaFu.Conc

    Will set the number of Haskell threads that can run simultaneously.

  6. data WithSetup x

    dejafu Test.DejaFu.Conc

    A type used to constrain Program: a Program (WithSetup x) is a program with some set-up action producing a value of type x. Construct with withSetup.

  7. data WithSetupAndTeardown x y

    dejafu Test.DejaFu.Conc

    A type used to constrain Program: a Program (WithSetupAndTeardown x y) is a program producing a value of type y with some set-up action producing a value of type x and a teardown action producing the final result. Construct with withTeardown or withSetupAndTeardown.

  8. withSetup :: forall (n :: Type -> Type) x a . Program Basic n x -> (x -> Program Basic n a) -> Program (WithSetup x) n a

    dejafu Test.DejaFu.Conc

    A concurrent program with some set-up action. In terms of results, this is the same as setup >>= program. However, the setup action will be snapshotted (see recordSnapshot and runSnapshot) by the testing functions. This means that even if dejafu runs this program many many times, the setup action will only be run the first time, and its effects remembered for subsequent executions.

  9. withSetupAndTeardown :: forall (n :: Type -> Type) x y a . Program Basic n x -> (x -> Either Condition y -> Program Basic n a) -> (x -> Program Basic n y) -> Program (WithSetupAndTeardown x y) n a

    dejafu Test.DejaFu.Conc

    A combination of withSetup and withTeardown for convenience.

    withSetupAndTeardown setup teardown =
    withTeardown teardown . withSetup setup
    

  10. AResetMask :: Bool -> Bool -> MaskingState -> Action n -> Action (n :: Type -> Type)

    dejafu Test.DejaFu.Conc.Internal.Common

    No documentation available.

Page 1551 of many | Previous | Next