Safe Haskell | None |
---|---|
Language | Haskell98 |
A pure specification of getChar and putChar.
The IOTeletype monad
Pure getChar and putChar
getChar :: (:<:) Teletype f => IOSpec f Char Source
The getChar
function can be used to read a character from the
teletype.