[Haskell-cafe] RE: [Haskell] boilerplate boilerplate
alex at alexjacobson.com
Fri Jun 1 09:06:37 EDT 2007
I suppose a deriveAll command from template haskell would work. Is that
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.
More information about the Haskell-Cafe