Simplify OutputableBndr
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 17 Feb 2017 13:58:58 +0000 (13:58 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 17 Feb 2017 14:00:30 +0000 (14:00 +0000)
commit0e7601749d53d59df528ede996d8b54352051498
tree385714bb4676d0df959c846783558fbb824929de
parente55986a9810129d47a59c0bd4fcdc96f32108041
Simplify OutputableBndr

This replaces three methods in OutputableBndr with one,
and adds comments.

There's also a tiny change in the placement of equals signs in
debug-prints.  I like it better that way, but if it complicates
life for anyone we can put it back.
compiler/basicTypes/Name.hs
compiler/coreSyn/CoreSyn.hs
compiler/coreSyn/PprCore.hs
compiler/utils/Outputable.hs
testsuite/tests/numeric/should_compile/T7116.stdout
testsuite/tests/simplCore/should_compile/T13156.stdout
testsuite/tests/simplCore/should_compile/T3772.stdout
testsuite/tests/simplCore/should_compile/T7865.stdout