#10735: Smooth out the differences between `compiler/utils/Pretty.hs` and `libraries/pretty` -------------------------------------+------------------------------------- Reporter: thomie | Owner: thomie Type: task | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #1062, #1176, | Differential Revisions: #7666, #8809 | Phab:D1130, Phab:D1132 -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"85bf76a8f8015ed6adb65095d53d8af933080354/ghc" 85bf76a8/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="85bf76a8f8015ed6adb65095d53d8af933080354" 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 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10735#comment:18> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler