
12 Jul
2008
12 Jul
'08
2:37 p.m.
Can one represent the ''Type template Haskell syntax of
$( makeMergeable ''FileDescriptorProto )
in haskell-src.exts Language.Haskell.Exts.Syntax ?
And what are the HsReify data (e.g. HsReifyType and HsReifyDecl and HsReifyFixity )?
I don't see any pretty print capability to produce the ''Type so I am wondering what else I might use...
Hi Chris, like Jeremy said the support for TH in haskell-src-exts is legacy from GHC pre-6.4 (iirc) and needs updating. So don't look too closely at the things that are in there right now. It shouldn't be hard to fix to work with 6.8, I just need to find the time to sit down and do it. I'll try to get it fixed this week. Cheers, /Niklas