proposal for trailing comma and semicolon
ekmett at gmail.com
Fri May 17 20:04:44 CEST 2013
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
I really have no objection to it for the other cases. It'd make export
lists cleaner, maybe a few other cases, but how often can you really say
you can meaningfully comment out one field of a tuple have have the
surrounding code make any sense?
On Fri, May 17, 2013 at 12:35 PM, Bardur Arantsson <spam at scientician.net>wrote:
> On 05/17/2013 06:32 PM, Johan Tibell wrote:
> > On Fri, May 17, 2013 at 9:17 AM, Garrett Mitchener <
> > garrett.mitchener at gmail.com> wrote:
> >> Anyway, this is a "paper cut" in the language that has been bugging me
> >> a while, and since there's now a call for suggestions for Haskell 2014,
> >> thought I'd ask about it.
> > I've also thought about this issue and I agree with Garrett, allowing
> > trailing comma (or semicolon) would help readability*. If it doesn't work
> > with tuples, perhaps we could at least do it with lists and records?
> Multiline tuples don't seem all that common, so +1 on that from me.
> Haskell-prime mailing list
> Haskell-prime at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-prime