Mutable.Make
module Vector : ImmutableS
type key = Vector.key
module Vector = Vector
val create :
?values:'a Vector.Map.Map.t ->
?produce_value:'a Vector.producer ->
?origin:Mavryk_tree_encoding.wrapped_tree ->
key ->
'a t
val origin : 'a t -> Mavryk_tree_encoding.wrapped_tree option
val cons : 'a -> 'a t -> unit
val drop : 'a t -> unit
val pop : 'a t -> 'a Lwt.t
val reset : 'a t -> unit
reset vec
empties vec
completely. Contrary to pop
, no values are read from the underlying backend.