[Template-haskell] reifyDecl and reifyType not working
Wolfgang Jeltsch
g9ks157k at acme.softbase.org
Sat Sep 8 18:27:19 EDT 2007
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
More information about the template-haskell
mailing list