Representation of GHC Errors
I propose to add a data representation of GHC's errors to the API. This would facilitate external machine-processing of error messages and allow for internationalization of error messages, if this is desirable.
I'm writing an error message parser, but it seems like exporting an ADT representation of the errors would be less error-prone.
Trac metadata
Trac field | Value |
---|---|
Version | 7.2.1 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHC API |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |