Copyright (C) 2000-2012 |
GNU Info (guile.info)Weak vectorsWeak 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 |