View on GitHub


Documenting everything about OCaml


Pretty Printing

  • Format: stdlib module using the notion of boxes to lay out pretty-printing commands. It’s recommended to use one of the abstractions below instead.
  • CCFormat: Part of Containers. Extends the Stdlib’s support of formatting, including ANSI color code support!
  • fmt: pretty-printing library abstracting over the Format module in the stdlib.
  • easy-format: a pretty-printing library for OCaml.