Here goes nothing..

C.Reinke C.Reinke@ukc.ac.uk
Wed, 29 May 2002 17:48:00 +0100


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