package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

containers-3.16.tbz
sha256=1e7992cb2e59c0d2290d1b6c3a31531b3f310be6170b8ef3dde17ccd876b5b79
sha512=bb124e69ad0690f88393e18eee499be07761e767593558867aab32f643466b43258ced503170b154ca3b56dbd68987abd6d9438cf473707ec9866511589a5b84

doc/containers.pp/Containers_pp/Pretty/index.html

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.