Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A single-cell variant of the weak arrays in the standard library.
val make : 'a -> 'a t
Obtain a weak reference from a strong reference.
val set : 'a t -> 'a -> unit
Update a weak reference.
val get : 'a t -> 'a
Obtain a strong reference from a weak reference.
val is_empty : 'a t -> bool
Whether a weak reference is still live.