[Haskell-cafe] problems with derive/TH

Alfonso Acosta alfonso.acosta at gmail.com
Fri May 23 12:01:28 EDT 2008


On Fri, May 23, 2008 at 5:11 PM, Thomas Hartman <tphyahoo at gmail.com> wrote:
>  I am assuming this used to work, but something changed, either in TH
> itself or switching from ghc6.6 to ghc6.8.

The "deriving" rules of 6.8 are more restrictive in some cases.
However,  the same result can be obtained in 6.8 byt using stand-alone
deriving declarations:

 http://www.haskell.org/ghc/docs/latest/html/users_guide/deriving.html#stand-alone-deriving

I guess this can be the problem.


More information about the Haskell-Cafe mailing list