package hardcaml_waveterm

  1. Overview
  2. Docs

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

type t = {
  1. mutable data : Hardcaml.Bits.t Hardcaml_waveterm__.Import.Array.t;
  2. mutable length : Hardcaml_waveterm__.Import.Int.t;
}
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val compare : t -> t -> Hardcaml_waveterm__.Import.Int.t
val create : Hardcaml_waveterm__.Import.Unit.t -> t
val init : Hardcaml_waveterm__.Import.Int.t -> (Hardcaml_waveterm__.Import.Int.t -> Hardcaml.Bits.t) -> t
val length : t -> Hardcaml_waveterm__.Import.Int.t
val get : t -> Hardcaml_waveterm__.Import.Int.t -> Hardcaml.Bits.t
val set : t -> Hardcaml_waveterm__.Import.Int.t -> Hardcaml.Bits.t -> Hardcaml_waveterm__.Import.Unit.t
OCaml

Innovation. Community. Security.