| www.delorie.com/gnu/docs/guile/guile_406.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Guile's module mechanism uses obarrays, which are hash tables that map symbols to variables. Guile 1.4 included a group of primitives that could be used for the manipulation of the symbol-variable mappings in such obarrays.
However, considering the availability both of low-level procedures for operating on hash tables in general (see section 22.7.3 Hash Tables), and of a dedicated API for module-related operations (see section 31. Modules), the intermediate set of obarray primitives is no longer useful, and --- which is worse -- makes it more difficult to evolve the implementation of Guile's module system. Hence this set of primitives has now been deprecated.
If you have code using these functions, please change it to use either hash table or module-related operations.
t. The
obarray is specified as a second optional argument.
Default is the system obarray where all normal symbols are
interned. The counter is increased by 1 at each
call. There is no provision for resetting the counter.
#t if obarray contains a symbol with name
string, and #f otherwise.
#t if the symbol was present and #f
otherwise.
If obarray is #f, use the default system symbol table. If
obarray is #t, the symbol should not be interned in any
symbol table; merely return the pair (symbol
. #<undefined>).
The soft? argument determines whether new symbol table entries
should be created when the specified symbol is not already present in
obarray. If soft? is specified and is a true value, then
new entries should not be added for symbols not already present in the
table; instead, simply return #f.
#f,
use the global symbol table. If string is not interned in
obarray, an error is signalled.
#t if obarray contains a symbol with name
string bound to a defined value. This differs from
symbol-interned? in that the mere mention of a symbol
usually causes it to be interned; symbol-bound?
determines whether a symbol has been given any meaningful
value.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |