package tezos-protocol-alpha

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

A module type for comparable values that also includes a cost function for metering gas depending on the cost of comparing values.

type t
val compare : t -> t -> int
val compare_cost : t -> Alpha_context.Gas.cost

compare_cost k returns the cost of comparing the given key k with another value of the same type.

OCaml

Innovation. Community. Security.