Module PPrintEngine.ToBuffer
This renderer sends its output into a memory buffer.
type document= documentDocuments.
val pretty : float -> int -> channel -> document -> unitpretty rfrac width channel documentpretty-prints the documentdocumentinto the output channelchannel. The parameterwidthis the maximum number of characters per line. The parameterrfracis the ribbon width, a fraction relative towidth. The ribbon width is the maximum number of non-indentation characters per line.