package ppx_compare

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_compare-v0.16.0.tar.gz
sha256=7ac1dd852e62de6c4b6a879b8bd962c0167db822c39e8c972c8a6af4c48f26aa

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.

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.