package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = int
val zero : t
val succ : t -> t
val max_value : t
val of_int_do_not_use_except_for_parameters : int -> t
val of_int_exn : int -> t

of_int i creates a slot index from integer i

  • raises Invalid_argument

    if i < 0 || i > max_value

val to_int : t -> int
include Tezos_protocol_environment_012_Psithaca.Compare.S with type t := t
val (=) : t -> t -> bool
val (<>) : t -> t -> bool
val (<) : t -> t -> bool
val (<=) : t -> t -> bool
val (>=) : t -> t -> bool
val (>) : t -> t -> bool
val compare : t -> t -> int
val equal : t -> t -> bool
val max : t -> t -> t
val min : t -> t -> t
module List : sig ... end
OCaml

Innovation. Community. Security.