(guile.info.gz) Weak vectors
Info Catalog
(guile.info.gz) Weak key hashes
(guile.info.gz) Weak References
29.2.2 Weak vectors
-------------------
Weak vectors are mainly useful in Guile's implementation of weak hash
tables.
-- Scheme Procedure: make-weak-vector size [fill]
-- C Function: scm_make_weak_vector (size, fill)
Return a weak vector with SIZE elements. If the optional argument
FILL is given, all entries in the vector will be set to FILL. The
default value for FILL is the empty list.
-- Scheme Procedure: weak-vector . l
-- Scheme Procedure: list->weak-vector l
-- C Function: scm_weak_vector (l)
Construct a weak vector from a list: `weak-vector' uses the list
of its arguments while `list->weak-vector' uses its only argument
L (a list) to construct a weak vector the same way `list->vector'
would.
-- Scheme Procedure: weak-vector? obj
-- C Function: scm_weak_vector_p (obj)
Return `#t' if OBJ is a weak vector. Note that all weak hashes are
also weak vectors.
Info Catalog
(guile.info.gz) Weak key hashes
(guile.info.gz) Weak References
automatically generated byinfo2html