[Haskell-cafe] Re: Data instance for a GADT

Ozgur Akgun ozgurakgun at gmail.com
Wed Apr 14 05:53:27 EDT 2010


Seeing this old thread[1], I hope something happened towards enabling this.
Does anybody know the current status about using TH on GADTs?

[1]
http://www.haskell.org/pipermail/template-haskell/2006-August/000567.html


On 14 April 2010 10:32, Ozgur Akgun <ozgurakgun at gmail.com> wrote:

> answering to myself: I guess this is related:
> http://hackage.haskell.org/trac/ghc/ticket/3497
>
>
> On 14 April 2010 10:13, Ozgur Akgun <ozgurakgun at gmail.com> wrote:
>
>> Cafe,
>>
>> How can I provide a Data instance for a GADT? I am trying to TH on it, and
>> Uniplate requires Data.
>> I tried StandaloneDeriving, but it seems not to work.
>>
>> Best,
>>
>> --
>> Ozgur Akgun
>>
>
>
>
> --
> Ozgur Akgun
>



-- 
Ozgur Akgun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100414/5229382a/attachment.html


More information about the Haskell-Cafe mailing list