Go to file
2024-08-05 10:32:44 -06:00
.gitignore Initial import. 2020-05-28 13:41:53 -06:00
changelog Convert to %autorelease and %autochangelog 2024-07-03 15:16:45 -06:00
ocaml-ppx-compare.spec Version 0.17.0 2024-07-03 15:18:14 -06:00
README.md Version 0.15.0. 2021-11-30 11:27:34 -07:00
sources Version 0.17.0 2024-07-03 15:18:14 -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.