hGetChar

hGetChar :: Handle -> IO Char
base System.IO, base GHC.IO.Handle
Computation hGetChar hdl reads a character from the file or channel managed by hdl, blocking until a character is available. This operation may fail with: * isEOFError if the end of file has been reached.