package hardcaml_waveterm

  1. Overview
  2. Docs

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

type t
val sexp_of_t : t -> Sexplib0.Sexp.t
include Ppx_compare_lib.Comparable.S with type t := t
val compare : t -> t -> int
include Ppx_compare_lib.Equal.S with type t := t
val equal : t -> t -> bool
val create : Base.int -> t
val init : Base.int -> width:Base.int -> f:(Base.int -> Hardcaml.Bits.t) -> t
val length : t -> Base.int
val width : t -> Base.int
val get : t -> Base.int -> Hardcaml.Bits.t
val set : t -> Base.int -> Hardcaml.Bits.t -> Base.unit
val non_cache_hits : t -> Base.int