template-haskell-natural-1.0.0.0
Safe HaskellNone
LanguageHaskell2010

Language.Haskell.TH.Quotable

Synopsis

Documentation

class Quotable a b where Source #

A Quotable is a value that can be turned into a Q computation, allowing it to be used in a quasi-quote

Methods

q :: a -> Q b Source #

Instances

Instances details
Quotable a a Source # 
Instance details

Defined in Language.Haskell.TH.Quotable

Methods

q :: a -> Q a Source #

Quotable (Q a) a Source # 
Instance details

Defined in Language.Haskell.TH.Quotable

Methods

q :: Q a -> Q a Source #

qEC :: ExtractedConstructor a b => a -> Q b Source #

Like q, but for extracted constructors (see ExtractedConstructor from 'extract-cons')

qT :: TExp t -> Code Q t Source #

Like q, but for typed expressions