[GHC] #15941: Pretty-printing of invisible arguments to (->)

GHC ghc-devs at haskell.org
Fri Nov 23 20:12:34 UTC 2018


#15941: Pretty-printing of invisible arguments to (->)
-------------------------------------+-------------------------------------
           Reporter:  monoidal       |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.3
          Component:  Compiler       |           Version:  8.6.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 The invisible arguments to `(->)` are currently printed as:

 {{{
 λ> :set -XKindSignatures -fprint-explicit-runtime-reps -fprint-explicit-
 kinds
 λ> type T = ((->) :: * -> * -> *)
 λ> :i T
 type T =
   @{'GHC.Types.LiftedRep} -> @{'GHC.Types.LiftedRep} :: * -> * -> *
 }}}

 I'd expect
 {{{
 type T = (->) @{'GHC.Types.LiftedRep} @{'GHC.Types.LiftedRep} :: * -> * ->
 *
 }}}

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


More information about the ghc-tickets mailing list