FreeBSD.software
Home/devel/ocaml-ppx_compare

ocaml-ppx_compare

0.16.0_1devel

Deriving PPX plugin to generate comparision functions

This PPX rewriter plugin derives comparison and equality functions from OCaml type definitions and (anonymous) type annotations. The generated functions are usualy faster than their polymorphic equivalent from the OCaml standard library. It is also possible to ignore one or more member of a tuple or structure.

$pkg install ocaml-ppx_compare
github.com/janestreet/ppx_compare
Origin
devel/ocaml-ppx_compare
Size
1013KiB
License
MIT
Maintainer
freebsd@dev.thsi.be
Dependencies
4 packages
Required by
1 packages

Dependencies (4)

Required By (1)