Thanks very much everyone!
I added the line "hFlush stdout" to the code and it works fine now - thanks for your
help!
Rich.
___
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
NOTE: Even the examples are correct in the H98 libraries documentation in the
IO module section, they are incorrect in the H98 Report:
http://www.haskell.org/onlinereport/io-13.html
Scroll down, to 7.2.
> when I put the same code through ghc, it waits for a command first, and
> then when the
Hi, I have to hand in my final project for my degree next week. I've been
running my program through hugs most of the time, and I wanted to compile
it to an executable, so I used ghc. Unfortunately ghc makes the program
behave in a different, undesirable way. The code where the problem lies