putStrLn package:base

The same as putStr, but adds a newline character. This operation may fail with the same errors, and has the same issues with concurrency, as hPutStr!
The same as hPutStr, but adds a newline character. This operation may fail with the same errors, and has the same issues with concurrency, as hPutStr!