package ppx_compare
Generation of comparison functions from types
Install
Dune Dependency
Authors
Maintainers
Sources
ppx_compare-v0.14.0.tar.gz
sha256=b7de8451acb6bcd0917b476c8bf2546bc4d45eb9c14a47fa71d19214b4501d57
md5=9149b3a0c954fe2cef2b0705d254b9e3
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
.