GNU Info

Info Node: (guile.info)Weak vectors

(guile.info)Weak vectors


Prev: Weak key hashes Up: Weak References
Enter node , (file) or (file)node

Weak vectors
------------

Weak vectors are mainly useful in Guile's implementation of weak hash
tables.

 - primitive: make-weak-vector k [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.

 - primitive: weak-vector . l
 - primitive: list->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 `vector->list'
     would.

 - primitive: weak-vector? x
     Return #T if OBJ is a weak vector. Note that all weak hashes are
     also weak vectors.


automatically generated by info2www version 1.2.2.9