writeFile and buffering

Jorge Adriano jadrian@mat.uc.pt
Sat, 13 Apr 2002 17:27:56 +0100

Is there any way to use writeFile with no buffering?
I know that with handles I can do,
> hSetBuffering hdl NoBuffering
Since all I do is write a string to a file, I don't see much need for han=
here though. I wanted no buffer to be able to check the status of the pro=
by accessing the file - I calculate thousands of values, but just write f=
hundred so it usually ends up just writing the string in the very end.

Thanks in advance