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 |
Tested with: GHC 8.0.2
This module defines a GPSS block.
- data 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.
Block | |
|
newtype GeneratorBlock a Source #
Represents a GPSS generator block.
GeneratorBlock | |
|
Perform some action within the block, for example,
opening or inverting the Gate
to emulate the LOGIC block.
Process every transact within the block.