symeval-in-process

Function

Summary

Reads the value of symbol which is dynamically bound in a given process.

Package

mp

Signature

symeval-in-process
symbol
process
=>
value
,
flag

(setf symeval-in-process)
value
symbol
process
=>
value

Arguments

symbol

A symbol

process

A process

Values

value

A Lisp object

flag

One of
t
,
nil
or the keyword
:unbound

Description

The function
symeval-in-process
reads the value of the symbol
symbol
in the process
process
if it is bound dynamically. The global value of
symbol
is never returned.

If
symbol
is not bound in
process
, then
value
and
flag
are both
nil
. If
symbol
is bound in
process
but
makunbound
has been called within the dynamic scope of the binding,
value
is
nil
and
flag
is
:unbound
. Otherwise,
value
is the value of
symbol
and
flag
is
t
.

In addition, the form

(setf (symeval-in-process
symbol
process
)
value
)

sets the value of
symbol
to
value
in
process
. It is an error if
process
has no binding for
symbol
. This
setf
form returns
value
as specified by Common Lisp.