package containers

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

containers-3.17.tbz
sha256=0f70824867269c02bf01ae12206aa47a6f669d69f1954c19e68ece9f444f1cba
sha512=11de2d7b7173659e6b83c487ac116a93d4b780b86da07386e7604f8fd45f6841e93cba59dba59ed7dbf6e1bc26561202ae1d2e7238a12f588dfd557d4f2da589

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