package tezos-protocol-006-PsCARTHA

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

Parameters

Signature

type t = t
type context = t
type elt = key

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

Adds/Removes a elt of the set

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

val fold : context -> init:'a -> f:(elt -> 'a -> 'a Tezos_protocol_environment.Lwt.t) -> 'a Tezos_protocol_environment.Lwt.t

Iterates over the elements of the set.

Removes all elements in the set