On 27 Oct 2009, at 15:47, Thomas DuBuisson wrote:

If you wanted to make sure it didn't have to do with ghci then you

should have compiled the original code, not tested different

functions. 


That is a very good point!




On 27 Oct 2009, at 16:00, Daniel Fischer wrote:

Look at the sources:

I'd still have needed you to look at the sources for me, I'm just learning.


Change code to

main = hSetBuffering stdin LineBuffering >> B.getLine >>= B.putStrLn

and it works.


Thankyou very much, I appreciate it.


Iain