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_compareOrigin
devel/ocaml-ppx_compare
Size
1013KiB
License
MIT
Maintainer
freebsd@dev.thsi.be
Dependencies
4 packages
Required by
1 packages