Hi... I just installed Hugs98-Sep1999 on a Linux box:
Linux sphere.cl.cam.ac.uk 2.2.2 #1 SMP Wed Feb 24 08:27:51 GMT 1999
i686 unknown
Typing
:l IO
openFile "thefile" WriteMode >>= \ hdl -> hPutStrLn hdl "hi" >> hClose
hdl
yields a file "thefile" containing a single newline, but not the text
"hi".
writeFile "thefile" "hi\n"
behaves as expected.
Any idea what is happening here?
--KW 8-)
--
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) ------------------------:
: PhD Student, Computer Laboratory, University of Cambridge, England. :
: (and recently of the University of Glasgow, Scotland. [><] ) :
: Native of Antipodean Auckland, New Zealand: 174d47' E, 36d55' S. :
: http://www.cl.cam.ac.uk/users/kw217/ mailto:[EMAIL PROTECTED] :
:---------------------------------------------------------------------: