[GHC] #13963: Runtime representation confusingly displayed

GHC ghc-devs at haskell.org
Wed Jul 12 17:30:14 UTC 2017


#13963: Runtime representation confusingly displayed
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Iceland_jack):

 For comparison here is the `newtype` `Pair2` becoming fully saturated

 {{{
 > :kind Pair2
 Pair2 :: forall {rep :: RuntimeRep} {rep' :: RuntimeRep}.
          TYPE rep -> TYPE rep' -> forall (rep'' :: RuntimeRep) -> *
 > :kind Pair2 Int#
 Pair2 Int# :: * -> forall (rep'' :: RuntimeRep) -> *
 > :kind Pair2 Int# Double#
 Pair2 Int# Double# :: forall (rep'' :: RuntimeRep) -> *
 > :kind Pair2 Int# Double# LiftedRep
 Pair2 Int# Double# LiftedRep :: *
 }}}

 Is the kind of `Pair Int#` not `TYPE rep' -> forall (rep'' :: RuntimeRep)
 -> *`

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


More information about the ghc-tickets mailing list