Show record construction/update without parens
ClosedPublic

Authored by thomie on Feb 19 2015, 4:30 AM.

Details

Summary

The 2010 report mentions:
"The result of show is a syntactically correct Haskell expression ...
Parenthesis are only added where needed, ignoring associativity".

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
thomie updated this revision to Diff 2266.Feb 19 2015, 4:30 AM
thomie retitled this revision from to Don't show parenthesis around record construction.
thomie updated this object.
thomie edited the test plan for this revision. (Show Details)
thomie added a reviewer: austin.
thomie updated the Trac tickets for this revision.
thomie added a subscriber: thomie.
thomie updated this revision to Diff 2267.Feb 19 2015, 8:21 AM

Update test output

thomie retitled this revision from Don't show parenthesis around record construction to Show record construction/update without parens.Feb 19 2015, 3:08 PM
thomie updated this object.
austin accepted this revision.Feb 23 2015, 8:55 AM
austin edited edge metadata.

lgtm

This revision is now accepted and ready to land.Feb 23 2015, 8:55 AM
This revision was automatically updated to reflect the committed changes.