<div dir="ltr">I find the "cleaner diffs" or "easier editing" motivations to be very weak, and I'd rather not have to explain why `[1,2,]` is a list, but `(1,2,)` is a function. <div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Aug 4, 2018 at 9:31 PM Christopher Allen <<a href="mailto:cma@bitemyapp.com">cma@bitemyapp.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Qualifying what I said toward the end, I don't think we should<br>
encourage clutter either. Trailing commas is an ergonomic idea that is<br>
already getting proved out by another language community.<br>
<br>
On Sat, Aug 4, 2018 at 1:27 PM, Christopher Allen <<a href="mailto:cma@bitemyapp.com" target="_blank">cma@bitemyapp.com</a>> wrote:<br>
> I've been using Rust which has terminal commas in the syntactic<br>
> enumerations and it's, frankly, lovely. Less editing and easier<br>
> copy/paste or use of macros when I am munging code. If it seems sloppy<br>
> to you, it's probably because you aren't accustomed to it.<br>
><br>
> We have to remember that we work with code and not sentential English.<br>
> In my view, mechanical ease should take priority over apparent<br>
> naturalness. There have been many people who've objected that Haskell<br>
> function application syntax is unnatural because they are accustomed<br>
> to C-style f(arg, arg1) syntax.<br>
><br>
> Cf. <a href="https://medium.com/@nikgraf/why-you-should-enforce-dangling-commas-for-multiline-statements-d034c98e36f8" rel="noreferrer" target="_blank">https://medium.com/@nikgraf/why-you-should-enforce-dangling-commas-for-multiline-statements-d034c98e36f8</a><br>
><br>
> I'd like to see this get in unless there are real technical issues<br>
> blocking it. I don't think it's our place to block an optional<br>
> extension on aesthetic grounds unless it was beyond the pale of what<br>
> the language is or does. I don't see how an extension permitting extra<br>
> commas would qualify.<br>
><br>
><br>
> On Sat, Aug 4, 2018 at 10:37 AM, Joachim Breitner<br>
> <<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>> wrote:<br>
>> Hi,<br>
>><br>
>> Am Samstag, den 02.06.2018, 13:04 -0700 schrieb Iavor Diatchki:<br>
>>> Well, I think it is a bad idea.  Obviously I don't think it has a<br>
>>> huge impact on the language, but I think it encourages poor style,<br>
>>> for very questionable befits.  This is quite subjective, of course,<br>
>>> but I think that this choice is at odds with Haskell's elegant<br>
>>> surface syntax.  We don't allow repeated punctuation in written<br>
>>> prose,,,, why would we want in our programs?,,,<br>
>><br>
>> looks like there is some discussion needed here…<br>
>><br>
>> Cheers,<br>
>> Joachim<br>
>><br>
>><br>
>> --<br>
>> Joachim Breitner<br>
>>   <a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a><br>
>>   <a href="http://www.joachim-breitner.de/" rel="noreferrer" target="_blank">http://www.joachim-breitner.de/</a><br>
>><br>
>> _______________________________________________<br>
>> ghc-steering-committee mailing list<br>
>> <a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
>> <a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Chris Allen<br>
> Currently working on <a href="http://haskellbook.com" rel="noreferrer" target="_blank">http://haskellbook.com</a><br>
<br>
<br>
<br>
-- <br>
Chris Allen<br>
Currently working on <a href="http://haskellbook.com" rel="noreferrer" target="_blank">http://haskellbook.com</a><br>
_______________________________________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org" target="_blank">ghc-steering-committee@haskell.org</a><br>
<a href="https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee" rel="noreferrer" target="_blank">https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee</a><br>
</blockquote></div>