[GHC] #12976: GHCi displays the kinds of unboxed tuples incorrectly
GHC
ghc-devs at haskell.org
Wed Dec 14 16:24:23 UTC 2016
#12976: GHCi displays the kinds of unboxed tuples incorrectly
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 8.0.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
This also affects unboxed sums, unsurprisingly:
{{{
λ> :set -fprint-explicit-runtime-reps -fprint-explicit-kinds -fprint-
explicit-foralls -XUnboxedSums -XTemplateHaskell -XMagicHash
λ> :m + GHC.Exts Language.Haskell.TH Language.Haskell.TH.Lib
Language.Haskell.TH.Syntax
λ> :k $(unboxedSumT 2)
$(unboxedSumT 2) :: * -> * -> TYPE 'UnboxedSumRep
λ> :k $(unboxedSumT 2) Int#
$(unboxedSumT 2) Int# :: * -> TYPE 'UnboxedSumRep
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12976#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list