readline -package:isocline

Read in a line from stdin Returns Nothing if at end of input
Not on Stackage, so not searched. An interface to the GNU readline library
Deprecated: (Since version 1.38)
Line reader. The line reader history is not stored between sessions.
Not on Stackage, so not searched. Readline effect for in-other-words.
Not on Stackage, so not searched. Readline with variables (setX/getY) wrapped in state vars
Reads a line, including the terminating character(s), from a IOChannel into a newly-allocated string. strReturn will contain allocated memory if the return is IOStatusNormal.
Reads a line from the data input stream. Note that no encoding checks or conversion is performed; the input is not guaranteed to be UTF-8, and may in fact have embedded NUL characters. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned.
The asynchronous version of dataInputStreamReadLine. It is an error to have two outstanding calls to this function. When the operation is finished, callback will be called. You can then call dataInputStreamReadLineFinish to get the result of the operation. Since: 2.20
Finish an asynchronous call started by dataInputStreamReadLineAsync. Note the warning about string encoding in dataInputStreamReadLine applies here as well. Since: 2.20
Finish an asynchronous call started by dataInputStreamReadLineAsync. Since: 2.30
Reads a UTF-8 encoded line from the data input stream. If cancellable is not Nothing, then the operation can be cancelled by triggering the cancellable object from another thread. If the operation was cancelled, the error IOErrorEnumCancelled will be returned. Since: 2.30