[GHC] #12976: GHCi displays the kinds of unboxed tuples incorrectly

GHC ghc-devs at haskell.org
Thu Dec 15 15:21:24 UTC 2016


#12976: GHCi displays the kinds of unboxed tuples incorrectly
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:
            Type:  bug               |               Status:  closed
        Priority:  normal            |            Milestone:
       Component:  GHCi              |              Version:  8.0.2
      Resolution:  invalid           |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  Other             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #12985            |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by goldfire):

 No. Visible kind applications won't help. We need to either have:

 1. Type-level lambdas, or

 2. Declare `(#,#) :: forall r1. TYPE r1 -> forall r2. TYPE r2 -> TYPE
 'UnboxedTupleRep`.

 (2) is obviously much much easier. But I'm worried about folks getting
 confused at the non-prenex type. On the other hand, if someone is wading
 in these waters, they had better know how to swim already...

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


More information about the ghc-tickets mailing list