proposal for trailing comma and semicolon

Neil Sculthorpe neil at ittc.ku.edu
Mon May 20 21:50:46 CEST 2013


Same with me.  I like using them, but turning on a language extension
feels excessive.

> I use them sometimes, but would do that much more if they didn't require
> adding an extension.
>
> Roman
>
> * Edward Kmett <ekmett at gmail.com> [2013-05-17 15:24:27-0400]
>> I personally use tuple sections a fair bit, though admittedly mostly for
>> simple (,a) or (a,) cases.
>>
>>
>> On Fri, May 17, 2013 at 3:01 PM, Ian Lynagh <ian at well-typed.com> wrote:
>>
>>> On Fri, May 17, 2013 at 02:04:44PM -0400, Edward Kmett wrote:
>>>> My main concern is its a really weird corner case for the grammar to
>>>> remember for tuple sections and it does have very weird grammar
>>>> specification issues.
>>> Tuple sections could look like
>>>     (True, _)
>>> rather than
>>>     (True,)
>>>
>>> Does anyone know how common tuple sections are, incidentally? They've
>>> been around since GHC 6.12, so it would be interesting to know if people
>>> are actually using them.




More information about the Haskell-prime mailing list