package pprint

Build not checked
  1. Overview
  2. Docs
A pretty-printing combinator library and rendering engine

Install

dune-project
 Dependency

Authors

Maintainers

Sources

20200316.tar.gz
md5=db30436804a95f4106757f3da3b9cd18
sha512=cdc822e546b83a5db4782adcd45301530c659088b74b9134483d97bbcfe6c8f0a9f7cac320189f0417502cf3697f2bcf75b5d35dbb7dfb6d4bb6b5ab7dd61fdd

Description

This library offers a set of combinators for building so-called documents as well as an efficient engine for converting documents to a textual, fixed-width format. The engine takes care of indentation and line breaks, while respecting the constraints imposed by the structure of the document and by the text width.

Added to opam-repository:

README

This is an adaptation of Daan Leijen's PPrint library, which itself is based on the ideas developed by Philip Wadler in A Prettier Printer.

To install the latest released version of PPrint, it should be sufficient to type:

  opam install pprint

To install PPrint from source, type:

  make install

The requirements are OCaml 4.02 or later and dune 1.3 or later.

The documentation for PPrint is built by make doc and is then found in the file _build/default/_doc/_html/index.html.

Dependencies (2)

  1. dune >= "1.3"
  2. ocaml >= "4.02"

Dev Dependencies

None

Optional Dependencies

None

Conflicts

None

Build status

Results of building pprint with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
20230830 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure