<div dir="ltr">Some languages like Perl allow you to include additional commas in your lists, so that you can freely reorder them without worrying about adding or removing commas from the last or first item:<div><br></div><div>my @array = (</div><div>  1,</div><div>  2,</div><div>  3,</div><div>);</div><div><br></div><div>Perl even allows multiple redundant commas everywhere after the first element, which is less useful but has come up on occasion:</div><div>my @array = (1,,,2,,,,,,,,,3,,,,,);</div><div><br></div><div>I propose allowing an optional single extra comma at the end in module declarations, record declarations, record constructors, and list constructors:</div><div><br></div><div>module Example (</div><div>  module Example,</div><div>  SomeConstructor(..),</div><div>  ) where</div><div><br></div><div>data SomeConstructor = SomeConstructor {</div><div>  foo :: Int,</div><div>  bar :: Int,</div><div>}</div><div><br></div><div>baz :: SomeConstructor -> SomeConstructor</div><div>baz x = x {</div><div>  foo = 5,</div><div>  bar = 10,</div><div>}</div><div><br></div><div>qux :: [ Int ]</div><div>qux = [</div><div>  1,</div><div>  2,</div><div>  3,</div><div>]</div><div><br></div><div>What do you think?</div></div>