[Haskell-cafe] Inconsistent trailing comma in export list and record syntax

Johan Tibell johan.tibell at gmail.com
Mon Jul 11 12:04:01 CEST 2011


On Mon, Jul 11, 2011 at 11:51 AM, Sjoerd Visscher <sjoerd at w3future.com> wrote:
>
> On Jul 11, 2011, at 11:42 AM, Jack Henahan wrote:
>
>> Well, for your example frustration, the leading comma style would sort your problem nicely. As for the particulars… hmm, not sure. I use leading commas for both, so I never really noticed.
>
> That just shifts the problem, I think? Now you can no longer comment out the first line.

I've found this quite annoying, especially when using CPP to
conditionally include something in a list, as it might force you to
reorder the list to make the commas appear correctly when the
conditional section is enabled/disabled.

Johan



More information about the Haskell-Cafe mailing list