[GHC] #8188: about template haskell's pretty print: 3 % 5 -> 3 / 5

GHC ghc-devs at haskell.org
Wed Aug 28 00:43:12 UTC 2013


#8188: about template haskell's pretty print: 3 % 5 -> 3 / 5
-------------------------------------+-------------------------------------
       Reporter:  YoshikuniJujo      |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:
      Component:  Template Haskell   |           Version:  7.6.3
       Keywords:  template haskell   |  Operating System:  Unknown/Multiple
  pretty print RationalL             |   Type of failure:  Incorrect result
   Architecture:  Unknown/Multiple   |  at runtime
     Difficulty:  Easy (less than 1  |         Test Case:
  hour)                              |          Blocking:
     Blocked By:                     |
Related Tickets:                     |
-------------------------------------+-------------------------------------
 I think it's better that the ghc can read what is printed by pretty
 printer.

 Now:

 pprLit 0 (RationalL 3.5) => 7 % 2

 I want:

 => 7 / 2

 I'll send patch.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8188>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler




More information about the ghc-tickets mailing list