getLine package:cabal-install-solver

Read a line from the standard input device (same as hGetLine stdin).