putStr package:base-prelude

Write a string to the standard output device (same as hPutStr stdout).
The same as putStr, but adds a newline character.
Computation hPutStr hdl s writes the string s to the file or channel managed by hdl. This operation may fail with:
The same as hPutStr, but adds a newline character.