package ppx_compare
Generation of comparison functions from types
Install
Dune Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=f0b23eb78082ef4dc71a66939bbc63c6b0cc2cf6a4744a906b7a2c016cbe3098
doc/CHANGES.html
Release v0.17.0
- Support comparing locally-allocated values via
[@@deriving compare ~localize]
.
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
andppx_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
andType_conv
.