syntactic-3.7.1: Generic representation and manipulation of abstract syntax

Safe HaskellNone
LanguageHaskell2010

Language.Syntactic.Functional.Tuple

Description

Construction and elimination of tuples

Documentation

data Tuple a where Source #

Constructors

Pair :: Tuple (a :-> (b :-> Full (a, b))) 
Fst :: Tuple ((a, b) :-> Full a) 
Snd :: Tuple ((a, b) :-> Full b) 
Instances
Symbol Tuple Source # 
Instance details

Defined in Language.Syntactic.Functional.Tuple

Methods

symSig :: Tuple sig -> SigRep sig Source #

StringTree Tuple Source # 
Instance details

Defined in Language.Syntactic.Functional.Tuple

Render Tuple Source # 
Instance details

Defined in Language.Syntactic.Functional.Tuple

Methods

renderSym :: Tuple sig -> String Source #

renderArgs :: [String] -> Tuple sig -> String Source #

Equality Tuple Source # 
Instance details

Defined in Language.Syntactic.Functional.Tuple

Methods

equal :: Tuple a -> Tuple b -> Bool Source #

hash :: Tuple a -> Hash Source #

Eval Tuple Source # 
Instance details

Defined in Language.Syntactic.Functional.Tuple

Methods

evalSym :: Tuple sig -> Denotation sig Source #

EvalEnv Tuple env Source # 
Instance details

Defined in Language.Syntactic.Functional.Tuple

Methods

compileSym :: proxy env -> Tuple sig -> DenotationM (Reader env) sig Source #