Skip to content

Derive Typeable and Eq instances for TMVar, TChan (and TArray)

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.

Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries (other)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information