[Haskell-cafe] RE: [Haskell] boilerplate boilerplate
ndmitchell at gmail.com
Fri Jun 1 08:28:38 EDT 2007
> 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.
More information about the Haskell-Cafe