CSPM-CoreLanguage-0.3.1.0: Definition of a CSP core-language.

Copyright(c) Fontaine 2010 - 2011
LicenseBSD3
Maintainerfontaine@cs.uni-duesseldorf.de
Stabilityexperimental
PortabilityGHC-only
Safe HaskellSafe
LanguageHaskell2010

CSPM.CoreLanguage.Event

Description

This module defines the event-related part of an interface between the CSPM-CoreLanguage and the underlying implementation. The underlying implementation has to instantiate the type families Event, EventSet, RenamingRelation and the class BE (BE== base event).

For full CSPM support (channels with multiple fields, event closure sets etc.) CSPM.CoreLanguage.Field is also needed.

Synopsis

Documentation

type family Event i Source #

type family EventSet i Source #

type family RenamingRelation i Source #

type Sigma i = EventSet i Source #

Sigma is the set of all events that appear in a system.

class BE i where Source #

The first argument of all functions in BE is a phantom-type-argument, i.e. applications pass _|_ and implementations must not use this value.

data TTE i Source #

A wrapper for tick-events, tau-events and events from Sigma.

Constructors

TickEvent 
TauEvent 
SEvent (Event i) 

class ShowEvent i where Source #

Minimal complete definition

showEvent

Methods

showEvent :: i -> String Source #

class ShowTTE i where Source #

Minimal complete definition

showTTE

Methods

showTTE :: i -> String Source #