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.Trans.GPSS.Block.Preempt

Description

Tested with: GHC 8.0.2

This module defines the GPSS block Preempt.

Synopsis

Documentation

preemptBlock Source #

Arguments

:: MonadDES m 
=> Facility m a

the facility

-> PreemptBlockMode m a

the Preempt block mode

-> Block m (Transact m a) (Transact m a) 

This is the GPSS construct

PREEMPT A,B,C,D,E

data PreemptBlockMode m a Source #

Specifies the Preempt block mode.

Constructors

PreemptBlockMode 

Fields

defaultPreemptBlockMode :: MonadDES m => PreemptBlockMode m a Source #

The default Preempt block mode.