> It looks ugly, but we could say that a data declaration does not
> have to have any constructors:
>
> data Empty =
>
> -- Lennart
I agree that the best way to fix this is to have a form of data
declaration with no constructors, but 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
-- P
- Haskell 1.3 ian
- Haskell 1.3 ian
- Re: Haskell 1.3 kh
- Haskell 1.3 "John C. Peterson"
- Re: Haskell 1.3 John Hughes
- Re: Haskell 1.3 John Launchbury
- Re: Haskell 1.3 wadler
- Haskell 1.3 Philip Wadler
- Re: Haskell 1.3 Lennart Augustsson
- Re: Haskell 1.3 Lennart Augustsson
- Re: Haskell 1.3 Philip Wadler
- Re: Haskell 1.3 Magnus Carlsson
- Re: Haskell 1.3 Ron Wichers Schreur
- Haskell 1.3 Frank Christoph
- Re: Haskell 1.3 peterson-john
