Re[2]: reifyDecl and reifyType not working
Bulat Ziganshin <[email protected]> Tue, 11 Sep 2007 10:54:12 +0400
| Newsgroups | gmane.comp.lang.haskell.template |
|---|---|
| Message-ID | <[email protected]> |
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:[email protected]