Return the value associated with NAME in the environment ENV. ENV is represetend as a list of binding sets.
(defmethod lookup-tal-variable (name (env list))
"Return the value associated with NAME in the environment
ENV. ENV is represetend as a list of binding sets."
(loop
for bind-set in env
do (multiple-value-bind (value found-p)
(fetch-tal-value name bind-set)
(when found-p
(return-from lookup-tal-variable (values value t)))))
(values nil nil))Source Context