Tutorial: Format Module of OCaml

Auteurs: OCamlPro
Date: 2021-05-06
Catégorie: Trainings
Tags: format, tutorial

The Format module of OCaml is an extremely powerful but unfortunately often poorly used module.

It combines two distinct elements:

  • pretty-print boxes
  • semantic tags

This tutorial aims to demystify much of this module and explain the range of things that you can do with it.

Read more (in French)

Au sujet d'OCamlPro:

OCamlPro is a R&D lab founded in 2011, with the mission to help industrial users benefit from state-of-the art programming languages like OCaml and Rust.

We design, create and implement custom ad-hoc software for our clients. We also have a long experience in developing and maintaining open-source tooling for OCaml, such as Opam, TryOCaml, ocp-indent, ocp-index and ocp-browser, and we contribute to the core-development of OCaml, notably with our work on the Flambda optimizer branch.

Another area of expertise is that of Formal Methods, with tools such as our SMT Solver Alt-Ergo (check our Alt-Ergo Users'). We also provide vocational trainings in OCaml and Rust, and we can build courses on formal methods on-demand. Do not hesitate to reach out by email: contact@ocamlpro.com.