putStr -package:bytestring

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 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.
Print a string to standard output
Write a string to stdout
Write a ByteString 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!
Write a string to stdout, followed by a newline.
Write a string to stdout, followed by a newline.
Write a String using UTF-8 encoding.