print package:ghc-lib-parser

The print function outputs a value of any printable type to the standard output device. Printable types are those that are instances of class Show; print converts values to strings for output using the show operation and adds a newline. For example, a program to print the first 20 integers and their powers of 2 could be written as:
main = print ([(n, 2^n) | n <- [0..19]])
Given a bag of diagnostics, turn them into an exception if any has SevError, or print them out otherwise.
Print the all diagnostics in a SourceError. Useful inside exception handlers.
The analog of printDoc_ for SDoc, which tries to make sure the terminal doesn't get screwed up by the ANSI color codes if an exception is thrown during pretty-printing.
Like printSDoc but appends an extra newline.
Create a CoreExpr which will evaluate to the given Int
Computes a hash of the contents of a StringBuffer.
Initialise the configuration for printing specific diagnostic messages