Re: [Haskell-cafe] Re: Unexpected results with simple IO

2006-02-20 Thread Emil Axelsson
those applications handle keyboard). Best, MaurĂ­cio Emil Axelsson wrote: What version of GHC are you using? Your code works for me in rxvt in Cygwin, with GHC 6.4.1. But I remember having that same problem earlier (in some earlier GHC version, so it may be fixed by now). The solution

Re: [Haskell-cafe] Re: Unexpected results with simple IO

2006-02-19 Thread Emil Axelsson
What version of GHC are you using? Your code works for me in rxvt in Cygwin, with GHC 6.4.1. But I remember having that same problem earlier (in some earlier GHC version, so it may be fixed by now). The solution was to run hFlush after each putStr, like so: import System.IO (hFlush, stdout)

<    1   2