Permitting trailing commas for record syntax ADT declarations
johan.tibell at gmail.com
Mon Sep 22 14:01:36 UTC 2014
On Mon, Sep 22, 2014 at 3:57 PM, Herbert Valerio Riedel <hvriedel at gmail.com>
> On 2014-09-22 at 14:31:10 +0200, Alexander Berntsen wrote:
> > Forwarding this & my reply to the ML as well,
> > On 22/09/14 14:27, David Luposchainsky wrote:
> >> +1. While you're at it, you may also want to consider allowing
> >> leading commas for the folks that write their exports/records "the
> >> other way round"
> > Sure. Both styles are common in the wild, so that makes sense.
> +1 (I'd even say that leading-comma style is the predominant one these
> days thanks to  et al.)
And to complete the circle. I designed  to work with the lack of
support for a trailing comma. If we supported a trailing comma my style
guide would probably be different.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ghc-devs