1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

document variable-unset!

* doc/ref/api-modules.texi (Variables): Document variable-unset!.

* NEWS: Update.
This commit is contained in:
Andy Wingo 2010-12-17 13:16:36 +01:00
parent d09c07fb10
commit 626e36e5cb
2 changed files with 6 additions and 1 deletions

2
NEWS
View file

@ -99,7 +99,7 @@ manual.
** Add variable-unset! ** Add variable-unset!
FIXME: document. See "Variables" in the manual, for more details.
** Command line additions ** Command line additions

View file

@ -1074,6 +1074,11 @@ Set the value of the variable @var{var} to @var{val}.
value. Return an unspecified value. value. Return an unspecified value.
@end deffn @end deffn
@deffn {Scheme Procedure} variable-unset! var
@deffnx {C Function} scm_variable_unset_x (var)
Unset the value of the variable @var{var}, leaving @var{var} unbound.
@end deffn
@deffn {Scheme Procedure} variable? obj @deffn {Scheme Procedure} variable? obj
@deffnx {C Function} scm_variable_p (obj) @deffnx {C Function} scm_variable_p (obj)
Return @code{#t} iff @var{obj} is a variable object, else Return @code{#t} iff @var{obj} is a variable object, else