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 the GPSS block GENERATE.
Synopsis
- streamGeneratorBlock0 :: Stream (Arrival a) -> GeneratorBlock (Transact a)
- streamGeneratorBlock :: Stream (Arrival a) -> Int -> GeneratorBlock (Transact a)
- streamGeneratorBlockM :: Stream (Arrival a) -> Event Int -> GeneratorBlock (Transact a)
- signalGeneratorBlock0 :: Signal (Arrival a) -> GeneratorBlock (Transact a)
- signalGeneratorBlock :: Signal (Arrival a) -> Int -> GeneratorBlock (Transact a)
- signalGeneratorBlockM :: Signal (Arrival a) -> Event Int -> GeneratorBlock (Transact a)
Documentation
streamGeneratorBlock0 Source #
:: Stream (Arrival a) | the input stream of data |
-> GeneratorBlock (Transact a) |
Return a generator block by the specified stream using zero priority.
:: Stream (Arrival a) | the input stream of data |
-> Int | the transact priority |
-> GeneratorBlock (Transact a) |
Return a generator block by the specified stream and priority.
streamGeneratorBlockM Source #
:: Stream (Arrival a) | the input stream of data |
-> Event Int | the transact priority |
-> GeneratorBlock (Transact a) |
Return a generator block by the specified stream and priority computation.
signalGeneratorBlock0 Source #
:: Signal (Arrival a) | the input signal of data |
-> GeneratorBlock (Transact a) |
Return a generator block by the specified signal using zero priority.
:: Signal (Arrival a) | the input signal of data |
-> Int | the transact priority |
-> GeneratorBlock (Transact a) |
Return a generator block by the specified signal and priority.
signalGeneratorBlockM Source #
:: Signal (Arrival a) | the input signal of data |
-> Event Int | the transact priority |
-> GeneratorBlock (Transact a) |
Return a generator block by the specified signal and priority computation.