
1 Jun
2007
1 Jun
'07
1:06 p.m.
I suppose a deriveAll command from template haskell would work. Is that really possible? -Alex- Neil Mitchell wrote:
Hi Alex,
The problem with Data.Derive is that I now have a pre-processor cycle as part of my build process. Automatic and universal Data and Typeable instance deriving should just be built into Haskell.
Not if you use the template haskell support. We don't currently have a "deriveAll" command, but I'm sure it could be added, which applied a given definition to every data type in that module.
Thanks
Neil