Lennart Augustsson wrote:

> It looks ugly, but we could say that a data declaration does not 
> have to have any constructors:
> 
>       data Empty =

Philip Wadler responded:

> I'm not keen on the syntax you propose.  How about if we allow the
> rhs of a data declaration to be just `empty', where `empty' is a
> keyword?
>
>         data Empty = empty

Another suggestion is to omit the equal sign, as in

          data Empty


Cheers,

Ronny Wichers Schreur
[EMAIL PROTECTED]





Reply via email to