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

Safe HaskellNone
LanguageHaskell2010

Language.Syntactic.Constructs.Identity

Description

Identity function

Synopsis

Documentation

data Identity sig where Source #

Identity function

Constructors

Id :: Identity (a :-> Full a) 
Instances
Semantic Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity

StringTree Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity

Render Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity

Eval Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity

Equality Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity

Constrained Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity

Associated Types

type Sat Identity :: * -> Constraint Source #

EvalBind Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Binding

Methods

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

Optimize Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Binding.Optimize

Methods

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

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

Defined in Language.Syntactic.Constructs.Binding

Methods

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

type Sat Identity Source # 
Instance details

Defined in Language.Syntactic.Constructs.Identity