Use dumpSDoc functions to output rules (#7060)
authorPaolo Capriotti <p.capriotti@gmail.com>
Thu, 12 Jul 2012 16:53:50 +0000 (17:53 +0100)
committerPaolo Capriotti <p.capriotti@gmail.com>
Fri, 13 Jul 2012 07:25:36 +0000 (08:25 +0100)
commit3fcf5bdff7a22e22d7265535369cd8f867141ec1
tree4a1f2a018c404368141e7d25c0a9e67de2030db3
parentd90176cff3e68abef581cedaa9848841f300fd3d
Use dumpSDoc functions to output rules (#7060)

Make -ddump-rules, -ddump-rule-firings and -ddump-rule-rewrites
behave like the other -ddump flags, by using the dumpSDoc function
instance of pprDefiniteTrace.
compiler/main/TidyPgm.lhs
compiler/simplCore/Simplify.lhs