Data.Typeable not backwards compatible
In ghc 7.1 the type name returned for prelude types has changed. It used to be Int, Integer, etc, but in ghc 7.1 it's GHC.Types.Int, GHC.Integer.Type.Integer, etc.
This has many drawbacks:[[BR]]
- The names are impossible to guess[[BR]]
- The names are not backwards compatible[[BR]]
- The names are not portable to other compilers[[BR]]
- The names reveal implementation details that should be kept hidden
Trac metadata
Trac field | Value |
---|---|
Version | 7.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | libraries/base |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |