FICHA · AUR

ocaml-ppx_compare

Generation of comparison functions from types

  • ocaml-ppx-extension
  • LIBRARY
  • Dev
  • COMPILER-EXTENSION
  • Dependency only
official+codex · reviewed · Jun 2, 2026 description in en

Description

Comparison functions can be generated from OCaml type definitions. This helps developers avoid repetitive ordering and equality code for records, variants, and structured values.

It is a PPX code-generation extension. It is mainly useful inside OCaml projects that already use generated comparison helpers.

Permissions

Permissions not analysed for this source yet.