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.Terminate

Description

Tested with: GHC 8.0.2

This module defines the GPSS block TERMINATE.

Synopsis

Documentation

terminateBlock :: Block a () Source #

This is the GPSS construct

TERMINATE

terminateBlockByCount Source #

Arguments

:: Ref Int

the counter

-> Int

the decrement

-> Block a () 

This is the GPSS construct

TERMINATE Count

terminateBlockByCountM Source #

Arguments

:: Ref Int

the counter

-> Event Int

the computation of decrement

-> Block a () 

This is the GPSS construct

TERMINATE Count