package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Pretty-printing.

These functions are parametrized by a width, and will try to fit the result within this width.

val to_out : width:int -> Out.t -> t -> unit

Render to an arbitrary output.

val to_string : width:int -> t -> string

Render to a string.

val to_buffer : width:int -> Buffer.t -> t -> unit

Render to a buffer.

val to_format : width:int -> Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.