Storage.Delegates
Set of all registered delegates.
type context = Raw_context.t
The type of elements.
val mem : context -> elt -> bool Mavryk_protocol_environment_001_PtAtLas.Lwt.t
Tells if a elt is a member of the set
val add :
context ->
elt ->
Raw_context.t Mavryk_protocol_environment_001_PtAtLas.Lwt.t
Adds a elt is a member of the set
val remove :
context ->
elt ->
Raw_context.t Mavryk_protocol_environment_001_PtAtLas.Lwt.t
Removes a elt of the set ; does nothing if not a member
val elements :
context ->
elt list Mavryk_protocol_environment_001_PtAtLas.Lwt.t
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 Mavryk_protocol_environment_001_PtAtLas.Lwt.t) ->
'a Mavryk_protocol_environment_001_PtAtLas.Lwt.t
Iterates over the elements of the set.
val clear :
context ->
Raw_context.t Mavryk_protocol_environment_001_PtAtLas.Lwt.t
Removes all elements in the set