package tezos-protocol-alpha

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

This module re-exports definitions from Dal_slot_index_repr.

type t
val zero : t
val of_int_opt : number_of_slots:int -> int -> t option
val of_int : number_of_slots:int -> int -> t Tezos_protocol_environment_alpha.Error_monad.tzresult
val to_int : t -> int
val to_int_list : t list -> int list
val compare : t -> t -> int
val equal : t -> t -> bool
val slots_range : number_of_slots:int -> lower:int -> upper:int -> t list Tezos_protocol_environment_alpha.Error_monad.tzresult
val slots_range_opt : number_of_slots:int -> lower:int -> upper:int -> t list option
val check_is_in_range : number_of_slots:int -> t -> unit Tezos_protocol_environment_alpha.Error_monad.tzresult
OCaml

Innovation. Community. Security.