haskell-src-exts-qq-0.3.0: A quasiquoter for haskell-src-exts.

Portabilityportable (template-haskell)
Stabilityexperimental
MaintainerMatt Morrow <mjm2002@gmail.com>

Language.Haskell.Exts.Translate

Contents

Description

 

Synopsis

Documentation

class ToKind a whereSource

Methods

toKind :: a -> KindSource

Instances

ToKind Kind

TH doesn't handle: * !, the kind of unboxed types * kind variables (as of yet unsupported by compilers)

class ToPred a whereSource

Methods

toPred :: a -> PredSource

Instances

ToPred Asst

TH doesn't handle: * implicit params

class ToTyVarBndr a whereSource

class ToType a whereSource

Methods

toType :: a -> TypeSource

Instances

ToType Type

TH does't handle * unboxed tuples * implicit params * infix type constructors * kind signatures

class ToPat a whereSource

Methods

toPat :: a -> PatSource

Instances

ToPat Pat 
ToPat Lit 
ToPat a => ToPat [a] 
(ToPat a, ToPat b) => ToPat (a, b) 
(ToPat a, ToPat b, ToPat c) => ToPat (a, b, c) 
(ToPat a, ToPat b, ToPat c, ToPat d) => ToPat (a, b, c, d) 

class ToExp a whereSource

Methods

toExp :: a -> ExpSource

Instances

ToExp QOp 
ToExp Exp 
ToExp Lit 
ToExp a => ToExp [a] 
(ToExp a, ToExp b) => ToExp (a, b) 
(ToExp a, ToExp b, ToExp c) => ToExp (a, b, c) 
(ToExp a, ToExp b, ToExp c, ToExp d) => ToExp (a, b, c, d) 

class ToDec a whereSource

Methods

toDec :: a -> DecSource

Instances

class ToStmt a whereSource

Methods

toStmt :: a -> StmtSource

Instances

class ToLoc a whereSource

Methods

toLoc :: a -> LocSource

Instances

Literals

ToName {String,HsName,Module,HsSpecialCon,HsQName}

ToPat HsPat

ToExp HsExp

ToLoc SrcLoc

ToType HsType

ToStmt HsStmt

ToDec HsDecl