[GHC] #11011: Add type-indexed type representations (`TypeRep a`)

GHC ghc-devs at haskell.org
Wed Feb 24 09:17:51 UTC 2016


#11011: Add type-indexed type representations (`TypeRep a`)
-------------------------------------+-------------------------------------
        Reporter:  bjmprice          |                Owner:
            Type:  feature request   |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:
      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 bgamari):

 I've put up some notes collected from the course of my implementation
 [[https://ghc.haskell.org/trac/ghc/wiki/Typeable/BenGamari|here]].

 At the moment I am struggling to find a design for serialization (or, more
 specifically, deserialization). The current scheme is described in this
 [[https://ghc.haskell.org/trac/ghc/wiki/Typeable/BenGamari#Deserialization|section]],
 although the need for `unsafeCoerce` is worrying. I'd love to hear what
 others have to say about this.

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


More information about the ghc-tickets mailing list