package ppx_compare
Generation of comparison functions from types
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_compare-v0.16.0.tar.gz
sha256=7ac1dd852e62de6c4b6a879b8bd962c0167db822c39e8c972c8a6af4c48f26aa
doc/CHANGES.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
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
.