package containers

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

Module Containers_pp.PrettySource

Pretty-printing.

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

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

Render to an arbitrary output.

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

Render to a string.

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

Render to a buffer.

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

Innovation. Community. Security.