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

Safe HaskellNone
LanguageHaskell2010

Language.Syntactic.Constructs.Condition

Description

Conditional expressions

Documentation

data Condition sig where Source #

Constructors

Condition :: Condition (Bool :-> (a :-> (a :-> Full a))) 
Instances
Semantic Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition

StringTree Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition

Render Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition

Eval Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition

Equality Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition

Constrained Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition

Associated Types

type Sat Condition :: * -> Constraint Source #

EvalBind Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Binding

Methods

evalBindSym :: (EvalBind dom, ConstrainedBy dom Typeable, Typeable (DenResult sig)) => Condition sig -> Args (AST dom) sig -> Reader [(VarId, Dynamic)] (DenResult sig) Source #

Optimize Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Binding.Optimize

Methods

optimizeSym :: Optimize' dom => ConstFolder dom -> (Condition sig -> AST dom sig) -> Condition sig -> Args (AST dom) sig -> Writer (Set VarId) (ASTF dom (DenResult sig)) Source #

AlphaEq dom dom dom env => AlphaEq Condition Condition dom env Source # 
Instance details

Defined in Language.Syntactic.Constructs.Binding

Methods

alphaEqSym :: Condition a -> Args (AST dom) a -> Condition b -> Args (AST dom) b -> Reader env Bool Source #

type Sat Condition Source # 
Instance details

Defined in Language.Syntactic.Constructs.Condition