[Haskell-cafe] Quasi quotation question

jean-christophe mincke jeanchristophe.mincke at gmail.com
Fri Nov 19 18:00:57 EST 2010


Is it possible for a quasi quoter to have access to information about
haskell identifiers declared before the quasi-quotation?

I tried the 'reify' function but without success.

Just as in the following exemple:

a = 6

x = [$expr|a|]

Where the generated haskell code is

a= 6
x = a

Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20101119/9275c9d4/attachment-0001.html

More information about the Haskell-Cafe mailing list