Skip to content

Commit

Permalink
Document that Reason is supported out of the box
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidas-from-XIV committed Mar 18, 2024
1 parent f271143 commit d997cbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/reference/files/dune-project/dialect.rst
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ dialect
This field supports the same sub-fields as ``implementation``.

.. versionchanged:: 3.9 This field is made optional.

Dune comes with some dialects pre-set and enabled. The most common one is
`ocaml` which consumes `.ml` and `.mli` files and uses `ocamlformat` for
formatting. There also exists `reason` which can be used in Dune projects
without further configuration and uses `.re`/`.rei` files. For formatting
`refmt` is used.

0 comments on commit d997cbf

Please sign in to comment.