| |||||||||||
| |||||||||||
| |||||||||||
Description | |||||||||||
System.UTF8IO defines the same entities as System.IO but with UTF8 text I/O operations. System.UTF8IO re-exports System.IO.UTF8 and System.IO but hides the duplicate definitions (in favor of System.IO.UTF8). | |||||||||||
Synopsis | |||||||||||
| |||||||||||
Functions not defined in System.IO.UTF8 | |||||||||||
| |||||||||||
Write a character to the standard output device (same as hPutChar stdout). Note: The implementation of putChar is not efficient. | |||||||||||
| |||||||||||
Read a character from the standard input device (same as hGetChar stdin). Note: The implementation of getChar is not efficient. | |||||||||||
| |||||||||||
Computation hPutChar hdl ch writes the character ch to the file or channel managed by hdl. Characters may be buffered if buffering is enabled for hdl. Note: The implementation of hPutChar is not efficient. | |||||||||||
| |||||||||||
Computation hGetChar hdl reads a character from the file or channel managed by hdl, blocking until a character is available. Note: The implementation of hGetChar is not efficient. | |||||||||||
| |||||||||||
Computation hLookAhead hdl returns the next character from the handle without removing it from the input buffer, blocking until a character is available. Note: hLookAhead is not implemented; it halts with a run-time error. | |||||||||||
| |||||||||||
Computation hPrint hdl t writes the UTF8 string representation of t to the file or channel managed by hdl and appends a newline (same as hPutStrLn hdl . show t). Note: hPrint has the same behaviour as System.IO.hPrint because show always produces an ASCII string. | |||||||||||
Produced by Haddock version 2.3.0 |