[Haskell-cafe] automatic instance derivation

Greg Fitzgerald garious at gmail.com
Sat Aug 19 16:01:31 EDT 2006


> well, the best practical way i know is to use Template Haskell / DrIFT

That's too bad.  I was hoping we could trivially solve Tim Newsham's XML
problem by importing HaXml, automatically deriving Data and Typeable for
HaXml's 'Content' data type, and then use 'everywhereM' from
Data.Generics.Schemes<http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Generics-Schemes.html>
to
do his stateful XML transformation.

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20060819/638de8ee/attachment.htm


More information about the Haskell-Cafe mailing list