A function which takes an Int (N) as argument, read N lines from the standard input and returns a concatenation of these lines in the IO monad. If N is 0 or negative, an empty string is returned. code example
Example: haskell print
-- Use 'putStrLn' to print
ghci> putStrLn "Hello World!"
Hello World!
-- Type of 'putStrLn' function
ghci> :t putStrLn
putStrLn :: String -> IO ()