[Hs-Generics] EMGM for GHC 6.12
Sean Leather
leather at cs.uu.nl
Tue Oct 5 03:09:53 EDT 2010
On Tue, Oct 5, 2010 at 07:09, Antoine Latter wrote:
> The error message you're getting is pretty un-helpful - what's
> happened is that EMGM has declared that it is only compatible with
> template-haskell version 2.3, however GHC 6.12 ships with
> template-haskell version 2.4.
>
Exactly. EMGM has not been updated for a newer Template Haskell.
> On Mon, Oct 4, 2010 at 11:36 PM, Hans Peter Würmli wrote:
>
> Also I noticed that the last upload was version 0.3.1. Is the library
> still
> > under maintenance?
>
Yes, it is.
Unfortunately, I have not had time recently to fix the TH issue. I do have a
local repository with some changes that I worked on a while back. The
changes include stripping the TH from the emgm package. It's a nasty
dependency that often requires updating for every GHC update, since the
syntax datatypes change. The big idea is to have the representation
generation be in a separate package from the EMGM library. This way, EMGM
itself is smaller and doesn't have to change to support new TH versions or
other things.
The other unfortunate aspect of EMGM's design is that I made the TH stuff
quite complicated when I did it. So, it's not easy to maintain. I want to
simplify it and clean it up.
If you want to play with a TH-free version of EMGM, I can easily commit my
current work to the Subversion repository or to GitHub. You can then create
your representation yourself. But the other stuff may have to wait for a few
weeks.
Regards,
Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/generics/attachments/20101005/914f6887/attachment.html
More information about the Generics
mailing list