Copyright | (c) Fontaine 2010 - 2011 |
---|---|
License | BSD |
Maintainer | fontaine@cs.uni-duesseldorf.de |
Stability | experimental |
Portability | GHC-only |
Safe Haskell | Safe |
Language | Haskell2010 |
This module defines the class BF
for versions of CSP
that also support multi-field-events and event-closure sets.
Documentation
type family ClosureState i Source #
type family PrefixState i Source #
class BL i => BF i where Source #
fieldEq, member, intersection, difference, union, null, singleton, insert, delete, fieldSetToList, fieldSetFromList, joinFields, splitFields, channelLen, closureStateInit, closureStateNext, closureRestore, viewClosureState, viewClosureFields, seenPrefixInClosure, prefixStateInit, prefixStateNext, prefixStateFinalize, viewPrefixState
fieldEq :: i -> Field i -> Field i -> Bool Source #
member :: i -> Field i -> FieldSet i -> Bool Source #
intersection :: i -> FieldSet i -> FieldSet i -> FieldSet i Source #
difference :: i -> FieldSet i -> FieldSet i -> FieldSet i Source #
union :: i -> FieldSet i -> FieldSet i -> FieldSet i Source #
null :: i -> FieldSet i -> Bool Source #
singleton :: i -> Field i -> FieldSet i Source #
insert :: i -> Field i -> FieldSet i -> FieldSet i Source #
delete :: i -> Field i -> FieldSet i -> FieldSet i Source #
fieldSetToList :: i -> FieldSet i -> [Field i] Source #
fieldSetFromList :: i -> [Field i] -> FieldSet i Source #
joinFields :: i -> [Field i] -> Event i Source #
splitFields :: i -> Event i -> [Field i] Source #
channelLen :: i -> Field i -> Int Source #
closureStateInit :: i -> EventSet i -> ClosureState i Source #
closureStateNext :: i -> ClosureState i -> Field i -> ClosureState i Source #
closureRestore :: i -> ClosureState i -> EventSet i Source #
viewClosureState :: i -> ClosureState i -> ClosureView Source #
viewClosureFields :: i -> ClosureState i -> FieldSet i Source #
seenPrefixInClosure :: i -> ClosureState i -> Bool Source #
prefixStateInit :: i -> Prefix i -> PrefixState i Source #
prefixStateNext :: i -> PrefixState i -> Field i -> Maybe (PrefixState i) Source #
prefixStateFinalize :: i -> PrefixState i -> Maybe (Prefix i) Source #
viewPrefixState :: i -> PrefixState i -> PrefixFieldView i Source #
data ClosureView Source #
data PrefixFieldView i Source #
FieldOut (Field i) | |
FieldIn | |
FieldGuard (FieldSet i) |