Ticket #3973 (closed proposal: fixed)
Derive Typeable and Eq instances for TMVar, TChan (and TArray)
| Reported by: | basvandijk | Owned by: | simonmar |
|---|---|---|---|
| Priority: | normal | Milestone: | Not GHC |
| Component: | libraries (other) | Version: | 6.12.1 |
| Keywords: | Cc: | ||
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | None/Unknown | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

