package name returned from tyConPackage is garbled
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
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |