Thanks,
unfortunely that doesn't solve the problem.
However, I just found that the testsuite works if you run it in GHCi
instead of compile it:
$ cd testsuite/
$ ghci progs-test-lab2.hs
Prelude Main> :run main ../
This is because compiled programs handle IO differently:
http://www.haskell.org/pipermail/beginners/2011-October/008856.html
I'm not sure exactly what the difference is that causes this to work
only in the interpreter though.
On Feb 20, 9:50 am, Arnar Birgisson <
arna...@gmail.com> wrote:
> Hi!
>
> Does adding
>
> hSetBuffering stdin NoBuffering
>
> to the top of your main function help?
>
> cheers,
> Arnar
>