reifyDecl and reifyType not working
Wolfgang Jeltsch <[email protected]> Sun, 9 Sep 2007 00:27:19 +0200
| Newsgroups | gmane.comp.lang.haskell.template |
|---|---|
| Message-ID | <[email protected]> |
Hello,
reifyDecl and reifyType seem to be recognized as identifiers and not as part
of TH syntax by GHC 6.7.20070903. Take, for example, the following code:
{-# LANGUAGE TemplateHaskell #-}
x = reifyDecl ()
If I compile this (with or without -fth), I get the error message “Not in
scope: `reifyDecl'”. What’s wrong here?
Best wishes,
Wolfgang