Tue, 24 Nov 2026 22:49:32 UTC Log in
Generate comparison functions from types 35.72 KB built 2026-11-24 21:32:11 GMT

Description

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 `Stdlib.compare` and `Stdlib.(=)`. 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.

Dependencies

9 total
Requires7
  • ocaml >= 5.1.0
  • ocaml-base-devel >= 0.17
  • ocaml-dune >= 3.11.0
  • ocaml-ppxlib-devel >= 0.28.0
  • ocaml-ppxlib-jane-devel >= 0.17
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(FileDigests) <= 4.6.0-1
Provides2
  • ocaml-ppx-compare = 0.17.0-17.fc45
  • ocaml-ppx-compare-devel = 0.17.0-17.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots