Module Weak_array
Module for dealing with weak pointers, i.e., pointers that don't prevent garbage collection of what they point to.
This module is like the OCaml standard library module of the same name, except that it requires that the values in the weak set are heap blocks.
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
val create : len:int -> _ tval length : _ t -> intval set : 'a t -> int -> 'a Core_kernel.Heap_block.t option -> unitval get : 'a t -> int -> 'a Core_kernel.Heap_block.t optionval is_some : _ t -> int -> boolval is_none : _ t -> int -> bool