graph-rewriting-0.6.0: Monadic graph rewriting of hypergraphs with ports and multiedges

Safe HaskellNone

GraphRewriting.Pattern.Internal

Synopsis

Documentation

newtype Pattern n a Source

A pattern represents a graph scrutinisation that memorises all the scrutinised nodes during matching.

Constructors

Pattern 

Fields

pattern :: Match -> ReaderT (Graph n) [] (Match, a)
 

Instances

type Match = [Node]Source

Nodes matched in the evaluation of a pattern with the lastly matched node at the head