[GHC] #13276: Unboxed sums are not Typeable

GHC ghc-devs at haskell.org
Sun Feb 12 17:53:08 UTC 2017


#13276: Unboxed sums are not Typeable
-------------------------------------+-------------------------------------
           Reporter:  Ben Gamari     |             Owner:  (none)
               Type:  feature        |            Status:  new
  request                            |
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Compiler       |           Version:  8.0.1
           Keywords:  typeable       |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 While the Typeable machinery introduce in the type-indexed Typeable rework
 (#11011) is fully capable of representing unboxed sums, we currently don't
 allow this since it would require that we generate an enormous number of
 bindings in `GHC.Types`. This is because we need to generate both `TyCon`
 and `KindRep` bindings for each type constructor and its promoted data
 constructors.

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


More information about the ghc-tickets mailing list