Pretty: show rational as is (#10735)
authorThomas Miedema <thomasmiedema@gmail.com>
Wed, 5 Aug 2015 11:17:56 +0000 (13:17 +0200)
committerThomas Miedema <thomasmiedema@gmail.com>
Wed, 12 Aug 2015 09:19:15 +0000 (11:19 +0200)
commit85bf76a8f8015ed6adb65095d53d8af933080354
tree2432fb59ff1d22b4fb04f77030f9e449746ecd21
parent5d57087e314bd484dbe14958f9b422be3ac6641a
Pretty: show rational as is (#10735)

Following libraries/pretty. I'm not sure why it converted to Double
before.

This function isn't used by GHC itself. It is exported from these two
places:
  * compiler/utils/Outputable
  * libraries/template-haskell/Language/Haskell/TH/PprLib.hs
compiler/utils/Pretty.hs