Go to file
2024-01-21 10:25:13 +00:00
.gitignore
ocaml-ppx-compare.spec Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 10:25:13 +00:00
README.md Version 0.15.0. 2021-11-30 11:27:34 -07:00
sources Version 0.16.0 2023-07-10 17:28:38 -06:00

ocaml-ppx-compare

Ppx_compare is a ppx rewriter that derives comparison and equality functions from type representations. The scaffolded functions are usually much faster than OCaml's Pervasives.compare and Pervasives.(=). Scaffolding functions also give more flexibility by allowing them to be overridden for a specific type, and more safety by making sure that only comparable values are compared.