package ppx_compare

  1. Overview
  2. Docs
Generation of comparison functions from types

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_compare-v0.15.0.tar.gz
sha256=6a0728929a7b591dffa0f1099d989854f871238697c70b34475eb9ffdce17385

doc/ppx_compare.runtime-lib/Ppx_compare_lib/index.html

Module Ppx_compare_libSource

Runtime support for auto-generated comparators. Users are not intended to use this module directly.

Sourceval phys_equal : 'a -> 'a -> bool
Sourceval polymorphic_compare : 'a -> 'a -> int
Sourceval polymorphic_equal : 'a -> 'a -> bool
Sourceval (&&) : bool -> bool -> bool
Sourcetype 'a compare = 'a -> 'a -> int
Sourcetype 'a equal = 'a -> 'a -> bool
Sourceval compare_abstract : type_name:string -> _ compare

Raise when fully applied

Sourceval equal_abstract : type_name:string -> _ equal
Sourcemodule Comparable : sig ... end
Sourcemodule Equal : sig ... end
Sourcemodule Builtin : sig ... end
OCaml

Innovation. Community. Security.