[Template-haskell] Lift instances of the AST-related types

Alfonso Acosta alfonso.acosta at gmail.com
Thu Nov 1 11:09:56 EDT 2007


Forgot to send this answer to the list, sorry.

On 11/1/07, Simon Peyton-Jones <simonpj at microsoft.com> wrote:
> Make a Trac feature request?

I'll be happy to do it.

> Augmenting Ian's library so that when you got the library you thereby got the Lift instances (themselves generated by the library) for the TH data types.
>
> In that way the whole thing could be done by modifying Ian's library without touching GHC, which is always good.

That's exactly what my patch+new module are supposed to do. I'm still
waiting for Ian to review it and maybe include them in his library.

Besides, since automatic instantiation of Lift seems to be a basic
need for a TH programmer, Wouldn't it be a good idea to merge th-lift
with the mainstream template-haskell library?


Cheers,

Fons


More information about the template-haskell mailing list