package ppx_compare

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include S

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

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

val str_type_decl : loc:Ppxlib.Location.t -> path:string -> (Ppxlib.rec_flag * Ppxlib.type_declaration list) -> Ppxlib.structure
val sig_type_decl : loc:Ppxlib.Location.t -> path:string -> (Ppxlib.rec_flag * Ppxlib.type_declaration list) -> Ppxlib.signature
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

OCaml

Innovation. Community. Security.