
19 Aug
2006
19 Aug
'06
4:01 p.m.
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.Schemeshttp://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-Generics-Sch... to do his stateful XML transformation. -Greg