Module Hardcaml_waveterm.Data

A dynamically-sized array, similar to std::vector in C++.

type t = {
mutable data : Hardcaml_waveterm__.Import.Bits.t Hardcaml_waveterm__.Import.array;
mutable length : Hardcaml_waveterm__.Import.int;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> Hardcaml_waveterm__.Import.int
val create : Hardcaml_waveterm__.Import.unit -> t
val init : Hardcaml_waveterm__.Import.int -> (Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.Bits.t) -> t
val length : t -> Hardcaml_waveterm__.Import.int
val get : t -> Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.Bits.t
val set : t -> Hardcaml_waveterm__.Import.int -> Hardcaml_waveterm__.Import.Bits.t -> Hardcaml_waveterm__.Import.unit