13 Mar
2005
13 Mar
'05
4:54 p.m.
On Sun, 13 Mar 2005 23:31:28 +0800 (GMT-8), WANG Meng
Hi All,
I am trying to use template haskell to splice top level declarations. However, GHC complains "<interactive>:1: Variable not in scope: `splice'"
From http://www.haskell.org/ghc/docs/6.4/html/users_guide/template-haskell.html: 'Note that the syntax for a declaration splice uses "$" not "splice" as in the paper. Also the type of the enclosed expression must be Q [Dec], not [Q Dec] as in the paper.'
-- Friendly, Lemmih