data kinds

John Meacham john at
Sun Jan 27 03:11:49 CET 2013

On Fri, Jan 25, 2013 at 7:19 AM, Ross Paterson <ross at> wrote:

> GHC implements data kinds by promoting data declarations of a certain
> restricted form, but I wonder if it would be better to have a special
> syntax for kind definitions, say
>   data kind Nat = Zero | Succ Nat

This is exactly the syntax jhc uses for user defined kinds.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Glasgow-haskell-users mailing list