Haskell Extensions in various compilers (Cabal)

Malcolm Wallace Malcolm.Wallace at cs.york.ac.uk
Mon Jul 26 05:50:15 EDT 2004

> On Sun, 25 Jul 2004 23:21:43 -0400, Isaac Jones <ijones at syntaxpolice.org>
> wrote:
> > Oh, also, somehow I didn't see "constructor-less data types" on the
> > list of extensions anywhere.  Does this fall under something I'm
> > missing?  Should I call it ConstructorlessDataTypes?

Martin Sjögren <msjogren at gmail.com> writes:
> If you mean restricted type synonyms
> (http://cvs.haskell.org/Hugs/pages/users_guide/restricted-synonyms.html),
> I think the constructor should be called RestrictedTypeSynonyms. :)

Or, if you mean something like
    data Dummy a;
then how about EmptyDataDecls or VoidDataTypes?


P.S. nhc98 permits them by default.

More information about the Libraries mailing list