[Template-haskell] reifyDecl and reifyType not working

Simon Peyton-Jones simonpj at microsoft.com
Tue Sep 11 04:22:34 EDT 2007


I'll improve the documentation too

S

| -----Original Message-----
| From: template-haskell-bounces at haskell.org [mailto:template-haskell-bounces at haskell.org] On Behalf Of
| Bulat Ziganshin
| Sent: 11 September 2007 07:54
| To: Wolfgang Jeltsch
| Cc: template-haskell at haskell.org
| Subject: Re[2]: [Template-haskell] reifyDecl and reifyType not working
|
| Hello Wolfgang,
|
| Tuesday, September 11, 2007, 1:59:15 AM, you wrote:
| >> > > > 'reifyDecl' is not a language construct; it's a function.  You need
|
| >> You can get names with the ' and '' syntax:
|
| > Oh, I didn’t know about this syntax.  Is this documented somewhere?
|
| afair, reifyDecl was described in the first TH paper while reify and
| '/'' in the second one: http://www.haskell.org/ghc/docs/papers/th2.ps
|
| you may also look at http://www.haskell.org/bz/thdoc.htm (written by me)
| which describes whole TH
|
| --
| Best regards,
|  Bulat                            mailto:Bulat.Ziganshin at gmail.com
|
| _______________________________________________
| template-haskell mailing list
| template-haskell at haskell.org
| http://www.haskell.org/mailman/listinfo/template-haskell


More information about the template-haskell mailing list