package ppx_compare

  1. Overview
  2. Docs
Generation of comparison functions from types

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_compare-v0.15.0.tar.gz
sha256=6a0728929a7b591dffa0f1099d989854f871238697c70b34475eb9ffdce17385

CHANGES.md.html

git version

  • Optimized comparison for sum types when all constructors are constant.

v0.11

Depend on ppxlib instead of (now deprecated) ppx_core, ppx_driver, ppx_metaquot and ppx_type_conv.

v0.10

  • Disallowed [%equal]; use [%compare.equal]

  • Added @compare.ignore record-field attribute; ppx_compare and ppx_hash skip record fields annotated with @compare.ignore.

  • Added support to %compare syntax for underscore (_) as meaning a comparison function that ignores both its arguments and returns zero.

v0.9

113.43.00

  • use the new context-free API

113.24.00

  • Follow evolution of Ppx_core and Type_conv.

OCaml

Innovation. Community. Security.