hPrint -package:universum

Computation hPrint hdl t writes the string representation of t given by the show function to the file or channel managed by hdl and appends a newline. This operation may fail with the same errors as hPutStrLn

Examples

>>> hPrint stdout [1,2,3]
[1,2,3]
>>> hPrint stdin [4,5,6]
*** Exception: <stdin>: hPutStr: illegal operation (handle is not open for writing)
Run the formatter and put the output onto the given Handle.
Computation hPrint hdl t writes the string representation of t given by the shows function to the file or channel managed by hdl and appends a newline. This operation may fail with:
Similar to printf, except that output is via the specified Handle. The return type is restricted to (IO a).
Run the formatter and put the output and a newline onto the given Handle.
Writes a value's strict Text representation to a file handle, followed by a newline. Since: 2
Writes a value's lazy Text representation to a file handle, followed by a newline. Since: 2
Prints out all data associated with a specific kafka object to a handle
Prints out all supported Kafka conf properties to a handle
The HPrintfType class provides the variable argument magic for hPrintf. Its implementation is intentionally not visible from this module.
An internal class that acts like Printf/HPrintf. The implementation is visible to the rest of the program, but the details of the class are not.
Like defaultLogActionHPutStrDoc but appends an extra newline.
Similar to pPrint, but take a Handle to print to.
>>> pHPrint stdout [Just (1, "hello")]
[ Just
( 1
, "hello"
)
]
Alias for pHPrint.
Similar to pPrintForceColor, but take a Handle to print to. See pHPrint for an example of how to use this function.
Alias for pHPrintForceColor.
Just like pHPrintForceColorDarkBg, but for printing to a light background.
Just like pHPrintDarkBg, but for printing to a light background.