Proposal: Redundant Commas

A new proposal Unordered redundant commas is started reviewing by Committee.
So it is time to upvote/downvote in first comment and any other feedback is welcomed.

This topic was discussed over decade and we have 3 groups of opinions where redundant commas could be allowed:

  1. Anything is better then nothing
  2. Everything or nothing
  3. If something, then a simple and obvious rule to distinguish when it is allowed must exists.

This proposal from 3rd group: we allow redundant commas (leading commas, trailing commas and extra commas) in UnOrdered structures:

  • import and export lists and sub-lists
  • deriving and default clauses
  • records

Lists and tuples are not part of Proposal.

12 Likes

If you still didn’t read or vote in first comment for the proposal to allow leading and trailing commas in unordered structures ( export/import lists and sublists, deriving and defaults clauses, records) - you still can do that before Committee make the decission!

1 Like