Template Haskell quotion for []
Krasimir Angelov
kr.angelov at gmail.com
Tue Nov 7 09:55:19 EST 2006
Hello,
I had this example that was working with earliest versions of GHC but
it doesn't work with GHC-6.6.
$(deriveReflectable ''[])
Above this isn't a double quote but two single quotes. It may not be
clear with some fonts. Is this a bug or just there is a change in the
syntax? The error that I get is:
src/Database/HarmonyDB/Instances.hs:1:0:
Illegal variable name: `[]'
When splicing generated code into the program
Regards,
Krasimir
More information about the Glasgow-haskell-users
mailing list