getContents package:string-class

Read all user input on stdin as a single string
Read n bytes *or* characters, depending on the implementation into a ByteString, directly from the specified Handle Whether or not this function is lazy depends on the instance; laziness is preferred.