| 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.GPSS.Block
Description
Tested with: GHC 8.0.2
This module defines a GPSS block.
- newtype Block a b = Block {
- blockProcess :: a -> Process b
- newtype GeneratorBlock a = GeneratorBlock {
- runGeneratorBlock :: Block a () -> Process ()
- withinBlock :: Process () -> Block a a
- processBlock :: (a -> Process b) -> Block a b
- traceBlock :: String -> Block a b -> Block a b
Documentation
Represents a GPSS block.
Constructors
| Block | |
Fields
| |
newtype GeneratorBlock 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.