Apologies for sending this via email, but the bug report web page appears
to be broken, as mentioned by a previous sender. The following bug seems
to be related to the previous one as well.

Your email address      [EMAIL PROTECTED]
Hugs version            September 99
Configuration options 
Operating System        Windows 95
Compiler                        Used precompiled binaries

Expected Behaviour
 Using 'x <- getChar' should result in the first keystroke being assigned
 to x.

Observed Behaviour
 Using 'x <- getChar' results in a linefeed (ascii value 10) being assigned
 to x for the first occurrence of the expression.

Session Transcript

Prelude> do {x <- getChar; y <- getChar; putStr (show (ord x)); putStr (show (ord y))}
 1032
Prelude>

A single space character was typed as input which was assigned to y. x was
assigned ascii character 10 without any input from the keyboard (other than
typing 'return' to invoke the command).

The expected behaviour of typing two space characters and getting '  3232'
does occur with the May 1999 version under Solaris.

Related programs (in plain text or uuencoded zip/tar format)
None


Reply via email to