multisetrewrite-0.1: Multi-set rewrite rules with guards and a parallel execution scheme

MultiSetRewrite.Base

Documentation

data VAR a Source

Constructors

VAR 

Fields

variable :: IORef a
 
var_tag :: Tag
 
DontCare 

Instances

Eq (VAR a) 

data L a Source

Constructors

Val a 
Var (VAR a) 

Instances

Eq a => Eq (L a) 
(Eq a, EMatch a, Show a) => EMatch (L a) 

readVar :: VAR a -> IO aSource

writeVar :: VAR a -> a -> IO ()Source

class EMatch a whereSource

Methods

match :: [Tag] -> a -> a -> IO (Bool, [Tag])Source

Instances

(Eq a, EMatch a, Show a) => EMatch (L a) 

class Match a whereSource

Methods

internal_match :: [Tag] -> InternalMsg a -> a -> IO (Bool, [Tag])Source

Instances

EMatch a => Match a 

data InternalMsg a Source

Constructors

InternalMsg 

Fields

message :: a
 
msg_tag :: Tag
 

Instances

Eq a => Eq (InternalMsg a) 
Show a => Show (InternalMsg a) 
(EMatch msg, Eq msg, Show msg) => RuleCompiler (Store msg) msg (Location msg) HashIdx (Iterator (InternalMsg msg))