[Haskell-cafe] RE: [Haskell] boilerplate boilerplate

Alex Jacobson alex at alexjacobson.com
Fri Jun 1 09:06:37 EDT 2007

I suppose a deriveAll command from template haskell would work.  Is that 
really possible?

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

More information about the Haskell-Cafe mailing list