package tezos-protocol-016-PtMumbai

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

Create storage for a compound type.

Parameters

module C : Raw_context.T
module I : INDEX

Signature

type t = C.t
type context = t
type elt = I.t

The type of elements.

Tells if a elt is a member of the set

Adds a elt is a member of the set

Removes a elt of the set ; does nothing if not a member

Returns the elements of the set, deserialized in a list in no particular order.

val fold : context -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(elt -> 'a -> 'a Tezos_protocol_environment_016_PtMumbai.Lwt.t) -> 'a Tezos_protocol_environment_016_PtMumbai.Lwt.t

Iterates over the elements of the set.

Removes all elements in the set

OCaml

Innovation. Community. Security.