Copyright | Copyright (c) 2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Tested with: GHC 8.0.2
This module defines a GPSS block.
Synopsis
- 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.
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.
Process every transact within the block.