Sourcing multi-line scripts in GHCi: track line numbers, and bail out after first error
Apologies if this is fixed in 6.6.1.
I have done ":def . readFile" (should be pre-defined?) and use it to read multi-line files; but if there is an error on any of those lines then it seems to always be reported as line 1. This is the only thing which currently limits the size of the source files that I can use in this way.
Trac metadata
Trac field | Value |
---|---|
Version | 6.6 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | Unknown |
Architecture | Unknown |