11 Jan
2005
11 Jan
'05
5:19 p.m.
On Tue, 11 Jan 2005 11:19:47 -0500 (Eastern Standard Time), S.
Alexander Jacobson
I understand that '[d|...|]' creates a Q [Dec], but in practice GHC 6.2.2 interprets it as a syntax error. Do I need to do something to enable it? [...]
From the user guide: "You need to use the flag -fth to switch these syntactic extensions on (-fth is currently implied by -fglasgow-exts, but you are encouraged to specify it explicitly).", but you have to realize that your example is not valid Haskell code.
-- Friendly, Lemmih