'reifyDecl' is not a language construct; it's a function. You need to import Language.Haskell.TH to bring it into scope. If the user manual suggests otherwise, could you suggest improved wording? Simon | -----Original Message----- | From: template-haskell-bounces@haskell.org [mailto:template-haskell-bounces@haskell.org] On Behalf Of | Wolfgang Jeltsch | Sent: 08 September 2007 23:27 | To: template-haskell@haskell.org | Subject: [Template-haskell] reifyDecl and reifyType not working | | 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 | _______________________________________________ | template-haskell mailing list | template-haskell@haskell.org | http://www.haskell.org/mailman/listinfo/template-haskell