t-regex-0.1.0.0: Matchers and grammars using tree regular expressions

Safe HaskellNone
LanguageHaskell2010

Data.Regex.Example.FPDag2015

Documentation

data List_ a l Source

Constructors

Cons_ a l 
Nil_ 

Instances

Generic1 (List_ a) 
Arbitrary a => Arbitrary (List a) 
(Show a, Show l) => Show (List_ a l) 
type Rep1 (List_ a) 

type List a = Fix (List_ a) Source

pattern Cons t (Fix (List_ t)) :: Fix (List_ t) Source

pattern Nil :: Fix (List_ t) Source

data Tree_ t Source

Constructors

Node_ Int t t 
Leaf_ Int 

Instances

Generic1 Tree_ 
Show t => Show (Tree_ t) 
type Rep1 Tree_ 

pattern Leaf Int :: Fix Tree_ Source

data Expr_ e Source

Constructors

Plus_ e e 
Times_ e e 
Var_ Int 

Instances

Generic1 Expr_ 
Show e => Show (Expr_ e) 
type Rep1 Expr_