[GHC] #4273: TextEncoding lacks Eq and Show instances

GHC cvs-ghc at haskell.org
Wed Aug 25 22:35:11 EDT 2010


#4273: TextEncoding lacks Eq and Show instances
---------------------------------+------------------------------------------
    Reporter:  bos               |       Owner:              
        Type:  feature request   |      Status:  new         
    Priority:  normal            |   Component:  Compiler    
     Version:  6.12.3            |    Keywords:              
    Testcase:                    |   Blockedby:              
          Os:  Unknown/Multiple  |    Blocking:              
Architecture:  Unknown/Multiple  |     Failure:  None/Unknown
---------------------------------+------------------------------------------
 When trying to debug a `Handle` encoding problem today, I noticed that
 although I can use `hGetEncoding` to get the encoding, I cannot find out
 what that encoding actually ''is'', as there is neither an `Eq` nor a
 `Show` instance for `TextEncoding`.

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


More information about the Glasgow-haskell-bugs mailing list