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.expander/Ppx_compare_expander/Equal/index.html

Module Ppx_compare_expander.EqualSource

Sourceval type_ : hide:bool -> loc:Ppxlib.Location.t -> Ppxlib.core_type -> Ppxlib.core_type

type_ ~hide ty is ty -> ty -> result_type where result_type is int for compare and bool for equal.

hide controls whether some [@merlin.hide] attributes should be added.

core_type ty is an expression of type ty -> ty -> result_type

Sourcemodule Attrs : sig ... end
Sourceval str_attributes : Ppxlib.Attribute.packed list
OCaml

Innovation. Community. Security.