[Haskell-cafe] "datakind" declaration

Daniel Peebles pumpkingod at gmail.com
Mon Feb 22 20:13:27 EST 2010


It's not quite what you're asking for, but a very similar idea is the SHE
preprocessor: http://personal.cis.strath.ac.uk/~conor/pub/she/

Dan

On Mon, Feb 22, 2010 at 8:08 PM, Paul Brauner <paul.brauner at loria.fr> wrote:

> Hello,
>
> I remember seeing something like
>
> > typedata T = A | B
>
> somewhere, where A and B are type constructors, but I can't find it in
> the ghc doc. Have I been dreaming or is it some hidden feature ?
>
> Paul
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100222/03c205cc/attachment.html


More information about the Haskell-Cafe mailing list