summaryrefslogtreecommitdiff
path: root/doc/ref/api-evaluation.texi
diff options
context:
space:
mode:
authorMarius Vollmer <mvo@zagadka.de>2005-03-02 20:46:41 +0000
committerMarius Vollmer <mvo@zagadka.de>2005-03-02 20:46:41 +0000
commitb4fddbbeda8368b705daabb6a32202d1b9ba8b8e (patch)
treeec2851b20d5215eaa2bb6a0402bc0abd5cdf8856 /doc/ref/api-evaluation.texi
parent9de87eea47536e25ef99bc25f07afdd759ee3575 (diff)
downloadguile-b4fddbbeda8368b705daabb6a32202d1b9ba8b8e.tar.gz
Updates for the new thread stuff.
Diffstat (limited to 'doc/ref/api-evaluation.texi')
-rw-r--r--doc/ref/api-evaluation.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi
index c6934df18..b41e88a0a 100644
--- a/doc/ref/api-evaluation.texi
+++ b/doc/ref/api-evaluation.texi
@@ -326,13 +326,15 @@ this procedure directly, use the procedures @code{read-enable},
@rnindex eval
@c ARGFIXME environment/environment specifier
-@deffn {Scheme Procedure} eval exp module
-@deffnx {C Function} scm_eval (exp, module)
+@deffn {Scheme Procedure} eval exp module_or_state
+@deffnx {C Function} scm_eval (exp, module_or_state)
Evaluate @var{exp}, a list representing a Scheme expression,
in the top-level environment specified by @var{module}.
While @var{exp} is evaluated (using @code{primitive-eval}),
@var{module} is made the current module. The current module
is reset to its previous value when @var{eval} returns.
+XXX - dynamic states.
+Example: (eval '(+ 1 2) (interaction-environment))
@end deffn
@rnindex interaction-environment