| 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
Description
Tested with: GHC 8.0.2
This module defines a GPSS block.
- newtype Block m a b = Block {
- blockProcess :: a -> Process m b
- newtype GeneratorBlock m a = GeneratorBlock {
- runGeneratorBlock :: Block m a () -> Process m ()
- withinBlock :: MonadDES m => Process m () -> Block m a a
- processBlock :: MonadDES m => (a -> Process m b) -> Block m a b
- traceBlock :: MonadDES m => String -> Block m a b -> Block m a b
Documentation
Represents a GPSS block.
Constructors
| Block | |
Fields
| |
newtype GeneratorBlock m a Source #
Represents a GPSS generator block.
Constructors
| GeneratorBlock | |
Fields
| |
Perform some action within the block, for example,
opening or inverting the Gate to emulate the LOGIC block.
Process every transact within the block.