Tidy up Outputable.printDoc, and add printDoc_
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 17 Jan 2014 10:40:58 +0000 (10:40 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 17 Jan 2014 14:06:26 +0000 (14:06 +0000)
commit9433f1dae5b782d49d4af52f3aa7574272a10c6f
treed5bfffb7761be7852c6077ee1b9aaf44def5beef
parent45d825bb8ba659696788aca712b6f5d2b15a05cf
Tidy up Outputable.printDoc, and add printDoc_

The former adds a newline at the end (restoring the previous behaviour)
while the latter does not (which previously happened by turning the
thuing into a string and only then printing it).
compiler/main/DynFlags.hs
compiler/utils/Pretty.lhs
testsuite/tests/ghci.debugger/scripts/dynbrk009.stdout