[GHC] #5667: Data.Unique.Unique and Data.Graph.SCC are not instances of Show
GHC
cvs-ghc at haskell.org
Tue Nov 29 06:55:38 CET 2011
#5667: Data.Unique.Unique and Data.Graph.SCC are not instances of Show
---------------------------------+------------------------------------------
Reporter: jewillco | Owner:
Type: feature request | Status: new
Priority: normal | Component: libraries/base
Version: 7.2.1 | Keywords:
Testcase: | Blockedby:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by jewillco):
It turns out that the instance for `Unique` needs to be written manually
(using `hashUnique`) outside its module, but it can probably derived in
`Data.Unique` because that module has access to the constructor(s) of
`Unique`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5667#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list