<div dir="ltr"><div><div><div>I support both adding ExtraCommas (minus constraint tuples) and Joachim's suggestion to modify the warning for duplicate exports.  Both  of these are useful.<br><br></div>The "cleaner diffs" motivation is more compelling than the CPP argument, in my opinion. I often have to work with Python where it's common practice to include trailing commas in multiline lists, and I miss it in Haskell.<br><br></div>Cheers<br></div>Simon<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 May 2018 at 03:59, Joachim Breitner <span dir="ltr"><<a href="mailto:mail@joachim-breitner.de" target="_blank">mail@joachim-breitner.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class=""><br>
<br>
Am Montag, den 30.04.2018, 19:20 -0500 schrieb Christopher Allen:<br>
> <a href="https://github.com/ghc-proposals/ghc-proposals/pull/87" rel="noreferrer" target="_blank">https://github.com/ghc-<wbr>proposals/ghc-proposals/pull/<wbr>87</a><br>
> <br>
> With the provisos mentioned by Simon starting here in mind:<br>
> <a href="https://github.com/ghc-proposals/ghc-proposals/pull/87#issuecomment-385536587" rel="noreferrer" target="_blank">https://github.com/ghc-<wbr>proposals/ghc-proposals/pull/<wbr>87#issuecomment-385536587</a><br>
<br>
</span>I am not against the proposal, but in the interest of fighting<br>
extension fatigue I’d like to draw your attention to this (which I had <br>
just posted at <a href="https://github.com/ghc-proposals/ghc-proposals/pull/87#issuecomment-385581915" rel="noreferrer" target="_blank">https://github.com/ghc-<wbr>proposals/ghc-proposals/pull/<wbr>87#issuecomment-385581915</a>)<br>
<br>
<br>
If the motivation is really mainly about subexports lists, then we<br>
could simply tell GHC to accept<br>
<br>
   module Foo<br>
       (<br>
       Foo(A),<br>
       Foo(B),<br>
       )<br>
   where<br>
<br>
without warning about the duplicate export of `Foo`.<br>
<br>
<br>
Is this good enough to solve the subexport list problem for CPP users?<br>
(probably yes)<br>
<br>
Do we still want ExtraCommas, because it is also useful in lists and<br>
other syntactic constructs?<br>
(probably probably; I could be swayed either way).<br>
<br>
<br>
Cheers,<br>
Joachim<br>
<span class="HOEnZb"><font color="#888888"><br>
-- <br>
Joachim Breitner<br>
  <a href="mailto:mail@joachim-breitner.de">mail@joachim-breitner.de</a><br>
  <a href="http://www.joachim-breitner.de/" rel="noreferrer" target="_blank">http://www.joachim-breitner.<wbr>de/</a><br>
</font></span><br>______________________________<wbr>_________________<br>
ghc-steering-committee mailing list<br>
<a href="mailto:ghc-steering-committee@haskell.org">ghc-steering-committee@<wbr>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-<wbr>bin/mailman/listinfo/ghc-<wbr>steering-committee</a><br>
<br></blockquote></div><br></div>