#4273: TextEncoding lacks Eq and Show instances
------------------------------+---------------------------------------------
  Reporter:  bos              |          Owner:  simonmar        
      Type:  feature request  |         Status:  closed          
  Priority:  normal           |      Milestone:  7.0.1           
 Component:  libraries/base   |        Version:  6.12.3          
Resolution:  fixed            |       Keywords:                  
  Testcase:                   |      Blockedby:                  
Difficulty:                   |             Os:  Unknown/Multiple
  Blocking:                   |   Architecture:  Unknown/Multiple
   Failure:  None/Unknown     |  
------------------------------+---------------------------------------------

Comment(by simonmar):

 Replying to [comment:3 bos]:
 > Thanks. Any particular reason you didn't go for Eq too?

 I wasn't completely sure what it should do. e.g. do you want an Iconv-
 backed UTF-8 codec to compare equal to the built-in UTF-8 codec?  They are
 functionally identical, so perhaps they should.  If so, then comparing the
 results of `show` would be sufficient.  If not, then Eq is more tricky.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4273#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to