|
|
|
|
|
Description |
A pure specification of getChar and putChar.
|
|
Synopsis |
|
|
|
|
The IOTeletype monad
|
|
|
An expression of type IOSpec Teletype a corresponds to an IO
computation that may print to or read from stdout and stdin
respectively.
There is a minor caveat here. I assume that stdin and stdout are
not buffered. This is not the standard behaviour in many Haskell
compilers.
| Instances | |
|
|
Pure getChar and putChar
|
|
|
The getChar function can be used to read a character from the
teletype.
|
|
|
The getChar function can be used to print a character to the
teletype.
|
|
|
|
|
|
|
|
Produced by Haddock version 2.4.2 |