Permitting trailing commas for record syntax ADT declarations
Daniel Trstenjak
daniel.trstenjak at gmail.com
Tue Sep 23 08:30:15 UTC 2014
On Tue, Sep 23, 2014 at 10:03:11AM +0200, Johan Tibell wrote:
> I must say that requiring a language pragma makes the feature quite a bit more
> heavy weight. We're not changing the meaning of any existing programs, just
> allowing some new ones.
Without using a new language pragma you will get more or less telling
error messages if you're trying to compile code using this new syntax
with older ghcs.
Using a new language pragma will give you quite telling error messages.
Greetings,
Daniel
More information about the ghc-devs
mailing list