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 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
- traceBlock :: MonadDES m => String -> Block m a b -> Block m a b
Documentation
Represents a GPSS block.
Block | |
|
newtype GeneratorBlock m 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.