[ghc-steering-committee] Extra Commas (#87), Recommend: accept

Joachim Breitner mail at joachim-breitner.de
Tue May 1 02:59:51 UTC 2018


Hi,


Am Montag, den 30.04.2018, 19:20 -0500 schrieb Christopher Allen:
> https://github.com/ghc-proposals/ghc-proposals/pull/87
> 
> With the provisos mentioned by Simon starting here in mind:
> https://github.com/ghc-proposals/ghc-proposals/pull/87#issuecomment-385536587

I am not against the proposal, but in the interest of fighting
extension fatigue I’d like to draw your attention to this (which I had 
just posted at https://github.com/ghc-proposals/ghc-proposals/pull/87#issuecomment-385581915)


If the motivation is really mainly about subexports lists, then we
could simply tell GHC to accept

   module Foo
       (
       Foo(A),
       Foo(B),
       )
   where

without warning about the duplicate export of `Foo`.


Is this good enough to solve the subexport list problem for CPP users?
(probably yes)

Do we still want ExtraCommas, because it is also useful in lists and
other syntactic constructs?
(probably probably; I could be swayed either way).


Cheers,
Joachim

-- 
Joachim Breitner
  mail at joachim-breitner.de
  http://www.joachim-breitner.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20180430/fb1f4645/attachment-0001.sig>


More information about the ghc-steering-committee mailing list