[Haskell-cafe] System.Console.Readline stifleHistory Question
d.kahlenberg at googlemail.com
Fri Jun 27 06:34:16 EDT 2008
I'm learning Haskell and so very likely will have advantages from the
history persistence feature added to the ghci haskell interpreter. It
drives very well in my setup (the history file is growing and used),
but I wanted to increase the number of saved history entries and now
my question concerning ghci: In the ticket
(http://hackage.haskell.org/trac/ghc/ticket/2050) associated with the
feature, there's written that one can call stifleHistory in its
dotghci file. Have done it like:
but now my ghci.exe says:
Could not find module `System.Console.Readline':
Use -v to see a list of the files searched for.
<interactive>:1:0: Not in scope: `stifleHistory'
MINGW32_NT-5.1 CLE10 1.0.11(0.46/3/2) 2007-01-12 12:05 i686 Msys
Do you have an idea, where I'm wrong?
I'm starting my ghci session from zsh shell, provided by cygwin,
wrapped in a tty emulator:
$Drive\puttycyg\putty.exe -cygterm $Drive\zsh\bin\zsh.exe -p -c
'PATH=/cygdrive/h/zsh/bin:$PATH HOME=/cygdrive/h/.homedir rlwrap
$(which ghcii.sh) -package-conf
So I did not expect Readline not to work, but maybe the ghc system
only sees the result from `uname -r` above??
More information about the Haskell-Cafe