Apocrypha

ocamlformat

Auto-formatter for OCaml code

ocamlformat is a code formatter for OCaml. It comes with opinionated default settings but is also fully customizable to suit your coding style. Profiles: ocamlformat offers profiles we predefined formatting configurations. Profiles include default, ocamlformat, janestreet. Configurable: Users can change the formatting profile and configure every option in their .ocamlformat configuration file. Format Comments: ocamlformat can format comments, docstrings, and even code blocks in your comments. RPC: ocamlformat provides an RPC server that can bed used by other tools to easily format OCaml Code. ocamlformat is part of the OCaml Platform, the recommended set of tools for OCaml.

Available in

OverlayNewestEbuildsLast activity
guru gitweb ↗ 0.29.0 2 47 h details ›

Versions & arches

VersionOverlay amd64 Committed
0.29.0 guru amd64 testing view · download · history ↗
0.26.2-r1 guru amd64 testing view · download · history ↗

Use flags of 0.29.0

  • ocamlopt Enable ocamlopt support (ocaml native code compiler) -- Produces faster programs (Warning: you have to disable/enable it at a global scale)
  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

Runtime dependencies of 0.29.0

show 6 lines