./devel/ocaml-ppx_compare, Generation of comparison functions from types

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2022Q3, Version: 0.15.0, Package name: ocaml-ppx_compare-0.15.0, Maintainer: jaapb

Generation of fast comparison functions from type expressions and definitions.

Ppx_compare is a ppx rewriter that derives comparison functions from type
representations. The scaffolded functions are usually much faster than ocaml's
Pervasives.compare. Scaffolding functions also gives you more flexibility by
allowing you to override them for a specific type and more safety by making
sure that you only compare comparable values.


Master sites:

Filesize: 13.579 KB

Version history: (Expand)