ForSyDe-3.1.1: ForSyDe's Haskell-embedded Domain Specific Language.

Portabilityportable
Stabilityexperimental
Maintainerforsyde-dev@ict.kth.se

Language.Haskell.TH.LiftInstances

Description

This module provides Lift instances for all the AST-types defined in Language.Haskell.Syntax: Guard Strict, Callconv, Safety,Body, Con, FunDep, Foreign, Lit, Pat, Match, Stmt, Range, Clause, Type, Dec, Exp

Furthermore it provides a Lift instance of Ratio, Int8, Int16, Int32, (essential for some of the other instantiations) and a function (metaLift) which lifts an expression twice, obtaing its meta AST (the AST of the AST)

Synopsis

Documentation

metaLift :: Lift a => a -> Q ExpSource

lift twice, getting the meta AST (the AST of the AST)