In 7.1, the Report says of getChar, getContents and friends:

        "By default, these input functions echo to standard output."

This would mean that the example given:

        main = interact (filter isAscii)

would print the input with all ASCII characters duplicated.

Surely it should say that if the standard input is a terminal device the
input is echoed on that device.  Or maybe the sentence should be deleted.

(Hugs does the echoing to stdout for getChar, but not for hGetChar stdin   
or getContents.)
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to