language-c-quote-0.12.2: C/CUDA/OpenCL/Objective-C quasiquoting library.

Copyright(c) 2006-2011 Harvard University
(c) 2011-2013 Geoffrey Mainland
: (c) 2013-2017 Drexel University
LicenseBSD-style
Maintainermainland@drexel.edu
Safe HaskellNone
LanguageHaskell98

Language.C.Quote.Base

Description

 

Synopsis

Documentation

class ToIdent a where Source #

An instance of ToIndent can be converted to a Id.

Minimal complete definition

toIdent

Methods

toIdent :: a -> SrcLoc -> Id Source #

Instances

class ToExp a where Source #

An instance of ToExp can be converted to a Exp.

Minimal complete definition

toExp

Methods

toExp :: a -> SrcLoc -> Exp Source #

qqExp :: Typeable a => a -> Maybe (Q Exp) Source #

qqPat :: Typeable a => a -> Maybe (Q Pat) Source #