Copyright | (c) Fontaine 2010 - 2011 |
---|---|
License | BSD3 |
Maintainer | fontaine@cs.uni-duesseldorf.de |
Stability | experimental |
Portability | GHC-only |
Safe Haskell | Safe |
Language | Haskell2010 |
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.
Documentation
type family RenamingRelation i 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.
eventEq, member, intersection, difference, union, null, singleton, insert, delete, eventSetToList, allEvents, isInRenaming, imageRenaming, preImageRenaming, isInRenamingDomain, isInRenamingRange, getRenamingDomain, getRenamingRange, renamingFromList, renamingToList, singleEventToClosureSet
eventEq :: i -> Event i -> Event i -> Bool Source #
member :: i -> Event i -> EventSet i -> Bool Source #
intersection :: i -> EventSet i -> EventSet i -> EventSet i Source #
difference :: i -> EventSet i -> EventSet i -> EventSet i Source #
union :: i -> EventSet i -> EventSet i -> EventSet i Source #
null :: i -> EventSet i -> Bool Source #
singleton :: i -> Event i -> EventSet i Source #
insert :: i -> Event i -> EventSet i -> EventSet i Source #
delete :: i -> Event i -> EventSet i -> EventSet i Source #
eventSetToList :: i -> EventSet i -> [Event i] Source #
allEvents :: i -> EventSet i Source #
isInRenaming :: i -> RenamingRelation i -> Event i -> Event i -> Bool Source #
imageRenaming :: i -> RenamingRelation i -> Event i -> [Event i] Source #
preImageRenaming :: i -> RenamingRelation i -> Event i -> [Event i] Source #
isInRenamingDomain :: i -> Event i -> RenamingRelation i -> Bool Source #
isInRenamingRange :: i -> Event i -> RenamingRelation i -> Bool Source #
getRenamingDomain :: i -> RenamingRelation i -> [Event i] Source #
getRenamingRange :: i -> RenamingRelation i -> [Event i] Source #
renamingFromList :: i -> [(Event i, Event i)] -> RenamingRelation i Source #
renamingToList :: i -> RenamingRelation i -> [(Event i, Event i)] Source #
singleEventToClosureSet :: i -> Event i -> EventSet i Source #
A wrapper for tick-events, tau-events and events from Sigma.