#3973: Derive Typeable and Eq instances for TMVar, TChan (and TArray)
---------------------------------+------------------------------------------
Reporter: basvandijk | Owner:
Type: proposal | Status: new
Priority: normal | Component: libraries (other)
Version: 6.12.1 | Keywords:
Os: Unknown/Multiple | Testcase:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
I would like to propose deriving {{{Typeable}}} and {{{Eq}}} instances for
{{{TMVar}}} and {{{TChan}}} because their {{{MVar}}} counterparts have
them also.
The included patch bundle adds them using the {{{DeriveDataTypeable}}}
language extension.
There are two extra patches in the bundle that derive a {{{Typeable}}}
instance for {{{TArray}}} and derive an {{{Eq}}} instance for
{{{TArray}}}. These are separate patches because I'm not sure about the
latter.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3973>
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