[ANN] ocp-indent 1.10.0

Here at OCamlPro we’re happy to announce the release of ocp-indent.1.10.0.

The full release notes are available here if you want the detailed version.

The main feature of this release is the support for new OCaml language features
from 5.3 effect patterns to 5.5 let type or let class. All new syntax
introduced in the last 3 minor compiler releases are now properly supported.

It also comes with new yet long awaited features such as a --check mode which
simply verifies whether the input file is correctly indented and a complementary
--strict flag which makes ocp-indent warnings fatal, both intended for CI
use.

As usual there’s also a bunch of bug fixes: - is now correctly accepted as a
positional argument for <stdin> input, strict_with behaviour has been
improved to be consistent across types and type extensions and starred comments
are now correctly indented.

We’d like to thank Ahrefs who’s funded this release through their grant
program
!

May your .ml files be properly indented :pray:

20 Likes