RE: order of computation in 'do' notation

2002-04-25 Thread Rich
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

Re: order of computation in 'do' notation

2002-04-25 Thread Jorge Adriano
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

order of computation in 'do' notation

2002-04-25 Thread Rich
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