[GHC] #10311: package name returned from tyConPackage is garbled

GHC ghc-devs at haskell.org
Thu Apr 16 00:01:27 UTC 2015


#10311: package name returned from tyConPackage is garbled
-------------------------------------+-------------------------------------
              Reporter:  j.waldmann  |             Owner:
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.1
              Keywords:              |  Operating System:  Unknown/Multiple
          Architecture:              |   Type of failure:  None/Unknown
  Unknown/Multiple                   |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 I am using tyConPackage (etc.) to programmatically generate links to
 haddock documentation (e.g., from a typed edit widget). This is now
 broken:

 {{{
 import Data.Map
 import Data.Typeable
 tyConPackage $  typeRepTyCon $  typeOf $ fromList [(1,2)]

 in ghc-7.8.4: "containers-0.5.5.1"
 in ghc-7.10.1: "conta_47ajk3tbda43DFWyeF3oHQ"
 }}}

 and I don't see how to get the actual package name.

 Cf. http://stackoverflow.com/questions/29638177/tyconpackage-changed-from-
 ghc-7-8-to-ghc-7-10

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


More information about the ghc-tickets mailing list