| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
System.IO.Compat
Documentation
module System.IO
getContents' :: IO String Source #
The getContents' operation returns all user input as a single string,
which is fully read before being returned
(same as hGetContents' stdin).
Since: 4.15.0.0
hGetContents' :: Handle -> IO String Source #
The hGetContents' operation reads all input on the given handle
before returning it as a String and closing the handle.
Since: 4.15.0.0