[GHC] #8187: about template haskell's pretty print: ($$$) xy = ...

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


#8187: about template haskell's pretty print: ($$$) xy = ...
-------------------------------------+-------------------------------------
       Reporter:  YoshikuniJujo      |             Owner:
           Type:  bug                |            Status:  new
       Priority:  normal             |         Milestone:
      Component:  Template Haskell   |           Version:  7.6.3
       Keywords:                     |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple   |   Type of failure:  Incorrect result
     Difficulty:  Easy (less than 1  |  at runtime
  hour)                              |         Test Case:
     Blocked By:                     |          Blocking:
Related Tickets:                     |
-------------------------------------+-------------------------------------
 Language.Haskell.TH.Ppr

 Now:

 ppr $ FunD (mkName "$$" [Clause [] (NormalB $ VarE $ mkName "x") []]
 => $$ = x

 I want:

 => ($$) = x

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




More information about the ghc-tickets mailing list