summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.138
1 files changed, 38 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 1aac81f8..4620b368 100644
--- a/txr.1
+++ b/txr.1
@@ -16435,6 +16435,44 @@ is specified as
.codn nil ,
then the binding takes place in the global environment.
+.coNP Functions @, env-vbindings @ env-fbindings and @ env-next
+.synb
+.mets (env-vbindings << env )
+.mets (env-fbindings << env )
+.mets (env-next << env )
+.syne
+.desc
+These function retrieve the components of
+.metn env ,
+which must be an environment. The
+.code env-vbindings
+function retrieves the the association list representing variable
+bindings. Similarly, the
+.code env-fbindings
+retrieves the association list of function bindings.
+The
+.code env-next
+function retrieves the next environment, if
+.meta env
+has one, otherwise
+.codn nil .
+
+If
+.code e
+is an environment constructed by the expression
+.codn "(make-env v f n)" ,
+then
+.code "(env-vbindings e)"
+retrieves
+.codn v ,
+.code "(env-fbindings e)"
+retrieves
+.code f
+and
+.code "(env-next e)"
+returns
+.codn n .
+
.SS* Global Environment
.coNP Accessors @, symbol-function @ symbol-macro and @ symbol-value
.synb