package base

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Comparator.Make1Source

Make1 creates a comparator value and its phantom comparator_witness type for a unary type. It takes a compare and sexp_of_t that have non-standard types because the Comparator.t type doesn't allow passing in additional values for the type argument.

Parameters

module M : sig ... end

Signature

Sourcetype comparator_witness
Sourceval comparator : ('a M.t, comparator_witness) comparator
OCaml

Innovation. Community. Security.