package camelot

  1. Overview
  2. Docs
An OCaml Linter / Style Checker

Install

Dune Dependency

Authors

Maintainers

Sources

2.0.1.tar.gz
md5=4cd3809e1194229c7b3ec31cb127aa44
sha512=adcdb7e42cb61e25bb514292c742ebaef46ee979602078e98a20940c63af652e8ec52dc9042b1c3f5d839e3c40da8d6b0e744611e2e9277f7a737d93d2495fdc

doc/CHANGELOG.html

Changelog

2.0.1 (2025-02-07)

Add new check for physical equality called EqPhysical

2.0.0 (2022-09-29)

Move from supporting OCaml 4.10.0 to instead support OCaml 4.13.0:

  • Migrate from Stream in the stdlib to camlp-streams, an opam package with the same functionality.
  • Parsetree was updated and required code changes:

    • Support for Pwith_modtype and Pwith_modtypesubst variants.
    • Support for Psig_modtypesubst variant.
    • Rearranging some type deconstruction for Ppat_construct which was restructured slightly.

1.7.1 (2022-02-01)

Fixes:

  • Type constructor equality bugs such as x = Some 5 || x = Some 6. The above expression would show a warning to simplify the || statement because it didn't check that the values inside the Somes are the same.
  • Descent down trees of boolean expressions with || and &&s. If two expressions in the tree are the same, it should warn the user that it can be simplified.

1.7.0 (2021-03-01)

Fix undesired _ = None | None = _ style warnings

  • Only flags _ = Some _ | Some _ = _ option style violations now.
  • Also updates README to mention how Camelot is currently supported by OCaml < 4.13.0 (for now).

1.6.2 (2021-02-08)

 Match Case Improvements (PR#81)

* Improved student-facing "fix" for `x :: []` match patterns.
  Now includes the preferred syntax (`[x]`) that should be used 
  in place of the above.
* Added new tests for the match patterns.
* Add ocaml.4.11.1 to CI runners.
* Added CHANGELOG.md (finally)
OCaml

Innovation. Community. Security.