package tezos-protocol-013-PtJakart

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

Slot ranges

type t

An ordered range of slots, in increasing order.

Constructor

create ~min ~count creates a full slot range starting at min, of size count, i.e, min, min + count - 1.

create errors if

  • min < 0
  • count < 1
  • min + count - 1 > max_value

Iterators

val fold : ('a -> slot -> 'a) -> 'a -> t -> 'a

fold f acc range folds f over the values of range, in increasing order.