← Back to context

Comment by eru

3 years ago

You can do the same, if your language allows a final comma.

(And that's what the comment you reply to suggests: make Dhall allow a final comma.)

What's the point of allowing a trailing comma? A delimiter symbol is a delimiter symbol, be it a an opening curly brace or a comma between elements, and one can simply align delimeters.

  • The main point is to make git diffs smaller when adding or removing elements, I think.