Provide option to show current module in ghci prompt without listing imported modules.
GHCi allows for %s
in the prompt, which is replaced by the currently loaded module followed by all imported modules. However, my .ghci
imports about a hundred modules, making the prompt way too long when I use %s
. It would be useful to have an option for showing just the current module, and not all the imported modules.
Trac metadata
Trac field | Value |
---|---|
Version | 7.8.4 |
Type | FeatureRequest |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | hvr |
Operating system | |
Architecture |