[GHC] #9842: No Typeable instance for type-level literals and promoted types

GHC ghc-devs at haskell.org
Thu Nov 27 17:22:52 UTC 2014


#9842: No Typeable instance for type-level literals and promoted types
-------------------------------------+-------------------------------------
              Reporter:  Feuerbach   |            Owner:
                  Type:  bug         |           Status:  closed
              Priority:  normal      |        Milestone:
             Component:  Compiler    |          Version:  7.8.3
            Resolution:  duplicate   |         Keywords:
      Operating System:              |     Architecture:  Unknown/Multiple
  Unknown/Multiple                   |       Difficulty:  Unknown
       Type of failure:              |       Blocked By:
  None/Unknown                       |  Related Tickets:  #8778
             Test Case:              |
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by thomie):

 Yes, it will be in 7.10:
 {{{
 Prelude Data.Typeable> typeRep (Proxy :: Proxy Nothing)
 Nothing
 }}}

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


More information about the ghc-tickets mailing list