aivika-gpss-0.3: GPSS-like DSL for Aivika

CopyrightCopyright (c) 2017 David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellNone
LanguageHaskell98

Simulation.Aivika.GPSS.Block.Link

Description

Tested with: GHC 8.0.2

This module defines an analog of the GPSS block LINK.

Synopsis

Documentation

linkBlock Source #

Arguments

:: (a -> Process (Either (Block a ()) Bool))

try to link the transact and return either the next block to transfer or a flag indicating whether the transact process should be passivated in case of successful linking, i.e. storing in the queue

-> Block a a 

This is an analog of the GPSS construct

LINK A,B,C