| 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.Loop
Description
Tested with: GHC 8.0.2
This module defines the GPSS block LOOP.
Documentation
Arguments
| :: MonadDES m | |
| => (a -> (b, Bool)) | by the specified transact return the next version of the same transact and a condition whether we should exit the loop |
| -> Block m b () | the block to transfer in when the condition fails |
| -> Block m a b |
This is the GPSS construct
LOOP A,B