30 May
2002
30 May
'02
8:45 a.m.
Thanks for reporting this; now fixed. --sigbjorn ----- Original Message ----- From: "C.Reinke" <C.Reinke@ukc.ac.uk> To: <hugs-bugs@haskell.org> Sent: Wednesday, May 29, 2002 09:48 Subject: Here goes nothing..
Simple Haskell program:
main = getLine >>= print
What would you expect Hugs to do with this if you run the program with an empty input stream? And what do you think Hugs does instead?-)
For me, it loops, printing white space..
GHC gives me the end-of-file exception I expected, so this looks like a bug in Hugs?
Claus _______________________________________________ Hugs-Bugs mailing list Hugs-Bugs@haskell.org http://www.haskell.org/mailman/listinfo/hugs-bugs