
8 Sep
2009
8 Sep
'09
3:13 p.m.
On Mon, 2009-09-07 at 11:24 -0700, Judah Jacobson wrote:
I'm not sure I understand. Are you saying that you can't use backspace/arrows/etc when the getLine command itself is waiting for input? But otherwise at the "Prelude>" prompt, where you type in the commands, everything behaves fine?
If so, that is normal behavior for the getLine function.
For what it's worth, while ghci has behaved this way for a long time (since at least 6.4), hugs seems to work more nicely in this regard. In hugs when you getLine it seems to switch into cooked mode so you at least get backspace etc. Duncan