[GHC] #2183: GHCi
GHC
trac at galois.com
Fri Mar 28 18:04:53 EDT 2008
#2183: GHCi
-----------------------+----------------------------------------------------
Reporter: iago | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: x86 | Os: Linux
-----------------------+----------------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2183>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list