ghc-4.02  and  hugs98-March99  perform differently the program

  main = getChar >> putStr "finished"
 

ghc   accepts the input keys  a, b ... without proceeding to  putStr,
      finally, the Enter key forces this  putStr.

hugs  gets to  putStr  after any first key stroke (which was my aim).

Does the Hugs dialogue shell matter here?
Which behaviour is of correct Haskell-98 ?

------------------
Sergey Mechveliani
[EMAIL PROTECTED]

Reply via email to