package ppx_compare

  1. Overview
  2. Docs
include S
val 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

module Attrs : sig ... end
val str_attributes : Ppxlib.Attribute.packed list
val equal_core_type : Ppxlib.core_type -> Ppxlib.expression

equal_core_type ty is an expression of type ty -> ty -> bool, using the comparison function generated by core_type