External Publication
Visit Post

Proposal: Redundant Commas

Haskell Community [Unofficial] April 27, 2026
Source
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.

Discussion in the ATmosphere

Loading comments...