getLine package:text

Read a single line of user input from stdin.
Read a single line of user input from stdin.
Read a single line from a handle.
Read a single line of input from a handle, constructing a list of decoded chunks as we go. When we're done, transform them into the destination type.