[GHC] #3480: Add Show and Binary instances for TypeRep
GHC
cvs-ghc at haskell.org
Wed Oct 12 12:38:31 CEST 2011
#3480: Add Show and Binary instances for TypeRep
-----------------------------+----------------------------------------------
Reporter: guest | Owner:
Type: task | Status: new
Priority: normal | Milestone: 7.2.1
Component: libraries/base | Version:
Resolution: | Keywords: Typeable, efficiency
Testcase: | Blockedby:
Difficulty: Unknown | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: None/Unknown |
-----------------------------+----------------------------------------------
Comment(by Lennart):
For older versions of ghc I just used (show . typeOf).
When ghc 7.2 broke this I had to start using Internal, so now I use
tyConModule and tyConName to emulate the behaviour of the old show.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3480#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list