There should be a flag for GHCi that tells it to load as many modules as possible
Right now if GHCi runs into a module that contains an error, it stop loading altogether, AFAIU. It'd be good if it attempted to load as many modules as possible instead. For example, if I have modules A, B, and C and C contains an error, then as long as A and B do not depend on C, I should end up with them in scope no matter in which order I specify the modules in load script (the --ghci-script
thing).
Trac metadata
Trac field | Value |
---|---|
Version | 8.4.3 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |