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

Neil Mitchell ndmitchell at gmail.com
Fri Jun 1 08:28:38 EDT 2007


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