diff options
author | Marius Vollmer <mvo@zagadka.de> | 2005-03-02 20:46:41 +0000 |
---|---|---|
committer | Marius Vollmer <mvo@zagadka.de> | 2005-03-02 20:46:41 +0000 |
commit | b4fddbbeda8368b705daabb6a32202d1b9ba8b8e (patch) | |
tree | ec2851b20d5215eaa2bb6a0402bc0abd5cdf8856 /doc/ref/api-evaluation.texi | |
parent | 9de87eea47536e25ef99bc25f07afdd759ee3575 (diff) | |
download | guile-b4fddbbeda8368b705daabb6a32202d1b9ba8b8e.tar.gz |
Updates for the new thread stuff.
Diffstat (limited to 'doc/ref/api-evaluation.texi')
-rw-r--r-- | doc/ref/api-evaluation.texi | 6 |
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 |