putStr

Write a string to the standard output device putStr is implemented as hPutStr stdout. This operation may fail with the same errors, and has the same issues with concurrency, as hPutStr!

Examples

Note that the following do not put a newline.
>>> putStr "Hello, World!"
Hello, World!
>>> putStr "\0052\0042\0050"
4*2
Write a ByteString to stdout.
Write a ByteString to stdout. The chunks will be written one at a time. Other threads might write to the stdout in between, and hence putStr alone is not suitable for concurrent writes.
Write a string to stdout.
Write a string to stdout.
Write a string to the standard output device (same as hPutStr stdout).
Lifted version of putStr.
Lifted putStr
Lifted putStr
Write a Text to stdout Uses system locale settings
Print a stream of bytes to STDOUT.
Write data to stdout.
Write a string like value to stdout/.
Print a string to standard output
Write a string to stdout
Write a string to the terminal
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!