Copyright | Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Tested with: GHC 8.0.2
This module defines the GPSS block TEST.
Synopsis
- awaitingTestBlock :: MonadDES m => (a -> Signalable m Bool) -> Block m a a
- awaitingTestBlockM :: MonadDES m => (a -> Process m (Signalable m Bool)) -> Block m a a
- transferringTestBlock :: MonadDES m => (a -> Bool) -> Block m a () -> Block m a a
- transferringTestBlockM :: MonadDES m => (a -> Process m Bool) -> Block m a () -> Block m a a
Documentation
:: MonadDES m | |
=> (a -> Signalable m Bool) | by the specified transact return a test condition and signal that notifies about changing the condition |
-> Block m a a |
This is the GPSS construct
TEST O A,B
:: MonadDES m | |
=> (a -> Process m (Signalable m Bool)) | by the specified transact return a test condition and signal that notifies about changing the condition |
-> Block m a a |
This is the GPSS construct
TEST O A,B