package ocamlformat

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val to_string : t -> Ocamlformat_stdlib.string
val pp : Ocamlformat_stdlib.Format.formatter -> t -> Ocamlformat_stdlib.unit

A version number, or "unknown". This is provided by dune-build-info, which means that it will be resolved in the following way:

  • if (version) is set in (dune-project), it is used. This is what happens when using opam pins (through dune subst), or for released versions (through dune-release).
  • otherwise, a description from git describe will be used. Caveat for this case: binaries under _build/ will not have this information, but dune install --prefix _install will copy a valid binary under _install/bin.