syntactic-1.0: Generic abstract syntax, and utilities for embedded languages

Safe HaskellNone

Language.Syntactic.Interpretation.Evaluation

Synopsis

Documentation

type family Denotation sig Source

The denotation of a symbol with the given signature

class Eval expr whereSource

Methods

evaluate :: expr a -> Denotation aSource

Evaluation of expressions

Instances

Eval Semantics 
Eval Condition 
Eval Construct 
Eval Identity 
Eval Literal 
Eval Select 
Eval Tuple 
Eval Let 
Eval dom => Eval (AST dom) 
Monad m => Eval (MONAD m) 
(Eval expr1, Eval expr2) => Eval (:+: expr1 expr2) 
Eval dom => Eval (:|| dom pred) 
Eval dom => Eval (:| dom pred) 
Eval expr => Eval (Decor info expr)