putChar is:exact

Write a character to the standard output device putChar is implemented as hPutChar stdout. This operation may fail with the same errors as hPutChar.

Examples

Note that the following do not put a newline.
>>> putChar 'x'
x
>>> putChar '\0042'
*
Write a character to the standard output device (same as hPutChar stdout).
Write a character to stdout Uses system locale settings
Insert a character into a buffer specified by the file
Print a single character.