GHCi
First of all, excuse me for my poor English.
The command history doesn't work correctly, it remembers any thing that you enter to the prompt, for example, it remembers an empty line like a command.
Prelude> 1+1
2
Now if you press up-arrow GHCi remembers the last statement: 1+1. OK but if you enter an empty line...
Prelude>
Prelude>
If you press up-arrow now, GHCi remembers the empty line, and not the correct last expression (1+1). You have to press the up-arrow key again to obtain the correct last expression 1+1.
I have installed the GHC 6.8.2 Debian Sid package.
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.2 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |