| Copyright | Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> |
|---|---|
| License | BSD3 |
| Maintainer | David Sorokin <david.sorokin@gmail.com> |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell98 |
Simulation.Aivika.Trans.GPSS.Block.Test
Description
Tested with: GHC 8.0.2
This module defines the GPSS block TEST.
- 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
Arguments
| :: 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
Arguments
| :: 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