Format_doc.DocSourceDefinitions and immutable API for composing documents
Format box types
type element = | Text of string| With_size of int| Open_box of {kind : box_type;indent : int;}| Close_box| Open_tag of Format.stag| Close_tag| Open_tbox| Tab_break of {}| Set_tab| Close_tbox| Simple_break of {}| Break of {}| Flush of {}| Newline| If_newline| Deprecated of Format.formatter -> unitEscape hatch: a Format printer used to provide backward-compatibility for user-defined printer (from the #install_printer toplevel directive for instance).
Base formatting instruction recognized by Format
Immutable document type
format ppf doc sends the format instruction of doc to the Format's formatter doc.
Fold over a document as a sequence of instructions
The functions below mirror Format printers, without the pp_print_ prefix naming convention