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

Johan Tibell johan.tibell at gmail.com
Mon Jul 11 17:03:35 CEST 2011


On Mon, Jul 11, 2011 at 3:54 PM, Henning Thielemann
<thunderbird at henning-thielemann.de> wrote:
> Johan Tibell wrote:
>> 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.
>
> In this case I use the colon like a terminator.
>
> http://www.haskell.org/haskellwiki/List_notation

Sorry, I wasn't being clear. I meant for import/export lists.

Johan



More information about the Haskell-Cafe mailing list