Ticket #2836 (new feature request)
Data.Typeable does not use qualified names
| Reported by: | guest | Owned by: | |
|---|---|---|---|
| Priority: | lowest | Milestone: | 7.6.1 |
| Component: | Compiler | Version: | 6.10.1 |
| Keywords: | Cc: | lennart@… | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Difficulty: | Unknown | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description (last modified by simonpj) (diff)
The TyCon in Data.Typeable does not provide the qualified type name. This can be very annoying if you try to use a TypeRep as a stored representation of a type (within a run it's OK with the equality on TypeRep).
I suggest that the TyCon be enhanced to contain a qualified name, but that the current API be maintained, except for adding some new functions to access qualified name.
If prodded I could provide the Data.Typeable implementation and the fix to ghc.
Change History
Note: See
TracTickets for help on using
tickets.
