#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 |
------------------------------+---------------------------------------------
Changes (by simonmar):
* status: new => closed
* resolution: => fixed
Comment:
Fixed:
{{{
Mon Sep 13 16:44:59 BST 2010 Simon Marlow <[email protected]>
* Add a suitable Show instance for TextEncoding (#4273)
}}}
I didn't add an `Eq` instance, but you can always get an approximate
equality by comparing the results of `show`.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4273#comment:2>
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