[GHC] #8187: about template haskell's pretty print: ($$$) xy = ...
#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
#8187: about template haskell's pretty print: ($$$) xy = ... -------------------------------------+------------------------------------- Reporter: YoshikuniJujo | Owner: simonpj Type: bug | Status: new Priority: normal | Milestone: Component: Template Haskell | Version: 7.6.3 Resolution: | 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: -------------------------------------+------------------------------------- Changes (by simonpj): * owner: => simonpj -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8187#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#8187: about template haskell's pretty print: ($$$) xy = ... -------------------------------------+------------------------------------- Reporter: YoshikuniJujo | Owner: simonpj Type: bug | Status: closed Priority: normal | Milestone: Component: Template Haskell | Version: 7.6.3 Resolution: fixed | 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: -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => closed * resolution: => fixed Comment: Fixed by {{{ commit ec6d5a7c9b0c9e2fb1ce10d776cff74548e17981 Author: Simon Peyton Jones <simonpj@microsoft.com> Date: Wed Aug 28 16:43:00 2013 +0100 Improve pretty printing for Template Haskell operators Fixes Trac #8187, #8188. Thanks to Yoshikuni Jujo for pointing this out and doing the first draft. }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8187#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC