package tezos-protocol-012-Psithaca

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = int
val encoding : t Data_encoding.t
val pp : Stdlib.Format.formatter -> t -> unit
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
module Map : sig ... end
module Set : sig ... end
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.