Hoogle Search
Within LTS Haskell 24.69 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
dejafu Test.DejaFu A combination of withSetup and withTeardown for convenience.
withSetupAndTeardown setup teardown = withTeardown teardown . withSetup setup
ResetMasking :: Bool -> MaskingState -> ThreadActiondejafu 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.
WillResetMasking :: Bool -> MaskingState -> Lookaheaddejafu 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.
WillSetMasking :: Bool -> MaskingState -> Lookaheaddejafu 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.
WillSetNumCapabilities :: Int -> Lookaheaddejafu Test.DejaFu.Conc Will set the number of Haskell threads that can run simultaneously.
-
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.
-
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.
-
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.
-
dejafu Test.DejaFu.Conc A combination of withSetup and withTeardown for convenience.
withSetupAndTeardown setup teardown = withTeardown teardown . withSetup setup
AResetMask :: Bool -> Bool -> MaskingState -> Action n -> Action (n :: Type -> Type)dejafu Test.DejaFu.Conc.Internal.Common No documentation available.