|
|
|
|
|
Description |
A pure implementation of getChar and putChar.
|
|
Synopsis |
|
|
|
|
The IOTeletype monad
|
|
|
The IOTeletype monad
| Instances | |
|
|
|
The result of running a teletype interation is a (potentially
infinite) list of characters, that are printed to the screen. The
interaction can also end, and return a final value, using the
Finish constructor.
| Constructors | |
|
|
|
Once you have constructed something of type IOTeletype you
can run the interaction. If you pass in a stream of characters
entered at the teletype, it will produce a value of type Output
|
|
Pure getChar and putChar
|
|
|
The getChar function can be used to read input from the teletype.
|
|
|
The getChar function can be used to print to the teletype.
|
|
Produced by Haddock version 2.6.0 |