Data.Typeable: Instances of basic types don't provide qualified strings to mkTyCon
The documentation of Data.Typeable.mkTyCon reasonably states that the name of the type constructor provided to mkTyCon "should be unique in the program, so it might be wise to use the fully qualified name".
When automatically generating Typeable instances through "deriving", the aforementioned advice seems to be followed. However, all the instances of basic types defined in Data.Typeable don't provide qualified constructor names to mkTyCon.
The case of Tuple constructors is specially strange, since the constructor string lacks the surrounding parentheses (e.g "," ",," ... ).
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | alfonso.acosta@gmail.com |
Operating system | Unknown |
Architecture | Unknown |