ivory-0.1.0.3: Safe embedded C programming.

Safe HaskellNone
LanguageHaskell2010

Ivory.Language.Syntax.Concrete.QQ.Common

Synopsis

Documentation

type VarEnv = [(Key, Name)] Source

Dereference expression environment

type Insert a = Key -> Name -> Exp -> QStM a () Source

How to insert an expression, given its type, the binding variable, and the TH expression.

data QStM a b Source

data Call Source

Constructors

Call FnSym [Exp] 

type TStmtM a = QStM Stmt a Source

callit :: Exp -> [Exp] -> Exp Source

liftQ :: Q b -> QStM a b Source

insert :: a -> QStM a () Source

runToQ :: QStM a b -> Q (b, [a]) Source

runToSt :: QStM a b -> Q [a] Source