[GHC] #14646: GHC 8.4.1 regression: rank-n types no longer parenthesized when pretty-printed

GHC ghc-devs at haskell.org
Tue Jan 9 20:22:55 UTC 2018


#14646: GHC 8.4.1 regression: rank-n types no longer parenthesized when pretty-
printed
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  RyanGlScott
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.4.1
       Component:  GHC API           |              Version:  8.4.1-alpha1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):

 * owner:  (none) => RyanGlScott


Comment:

 I will take a crack at (2).

 Note to myself: we should try to emulate the behavior of the first case of
 [http://git.haskell.org/ghc.git/blob/fb78b0d22635b1d7ae68385c648b8c407f5562c2:/libraries
 /template-haskell/Language/Haskell/TH/Ppr.hs#l734 pprFunArgType] in the
 `ArrowT` case of `Convert.cvtTypeKind`.

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


More information about the ghc-tickets mailing list