Package Info

ocaml-easy-format


Data pretty printing made easy


Development/Languages/OCaml

This module offers a high-level and functional interface to the Format module of the OCaml standard library. It is a pretty-printing facility, i.e. it takes as input some code represented as a tree and formats this code into the most visually satisfying result, breaking and indenting lines of code where appropriate.

Input data must be first modelled and converted into a tree using 3 kinds of nodes:

atoms lists labelled nodes

Atoms represent any text that is guaranteed to be printed as-is. Lists can model any sequence of items such as arrays of data or lists of definitions that are labelled with something like "int main", "let x =" or "x:".


License: BSD-3-Clause
URL: https://github.com/mjambon/easy-format

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
1.2.0-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ocaml-easy-format
  • ocaml-easy-format-devel
1.2.0-bp152.3.15 info GA Release 2020-05-23 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ocaml-easy-format
  • ocaml-easy-format-devel
1.2.0-bp151.1.1 info GA Release 2019-07-17 15 SP1
  • ppc64le
  • s390x
  • x86-64
  • ocaml-easy-format
  • ocaml-easy-format-devel
1.2.0-2.38 info GA Release 2018-05-31 15 SP5 Subpackages
  • x86-64
  • ocaml-easy-format
  • ocaml-easy-format-devel