package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-18.0.tar.gz
sha256=dbc3b675aee59c2c574e5d0a771193a2ecfca31e7a5bc5aed66598080596ce1c
sha512=b97ed762b9d24744305c358af0d20f394376b64bfdd758dd4a81775326caf445caa57c4f6445da3dd6468ff492de18e4c14af6f374dfcbb7e4d64b7b720e5e2a

doc/octez-libs.lazy-containers/Tezos_lazy_containers/Lazy_vector/Mutable/IntVector/index.html

Module Mutable.IntVectorSource

Sourcetype key = int
Sourcemodule Vector = IntVector
Sourcetype 'a t
Sourceval num_elements : 'a t -> key
Sourceval of_immutable : 'a Vector.t -> 'a t
Sourceval create : ?values:'a Vector.Map.Map.t -> ?produce_value:'a Vector.producer -> ?origin:Tezos_tree_encoding.wrapped_tree -> key -> 'a t
Sourceval origin : 'a t -> Tezos_tree_encoding.wrapped_tree option
Sourceval get : key -> 'a t -> 'a Lwt.t
Sourceval set : key -> 'a -> 'a t -> unit
Sourceval grow : ?default:(unit -> 'a) -> key -> 'a t -> unit
Sourceval append : 'a -> 'a t -> key
Sourceval cons : 'a -> 'a t -> unit
Sourceval drop : 'a t -> unit
Sourceval pop : 'a t -> 'a Lwt.t
Sourceval reset : 'a t -> unit

reset vec empties vec completely. Contrary to pop, no values are read from the underlying backend.

Sourceval snapshot : 'a t -> 'a Vector.t
OCaml

Innovation. Community. Security.