summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-12-08 21:25:41 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-12-08 21:25:41 -0800
commitddbf5c05006e113608ac3c57f6d403bdebcc20a5 (patch)
tree3b4c1b235b9b10738a28efa31efec5959eba6fa1 /txr.1
parentfd1473136898716cecf77de5a029c58e98f2a682 (diff)
downloadtxr-ddbf5c05006e113608ac3c57f6d403bdebcc20a5.tar.gz
txr-ddbf5c05006e113608ac3c57f6d403bdebcc20a5.tar.bz2
txr-ddbf5c05006e113608ac3c57f6d403bdebcc20a5.zip
Adding mboundp and mmakunbound.
* eval.c (mboundp, mmakunbound): New static functions. (eval_init): Registering mboundp and mmakunbound intrinsics. * txr.1: Documenting new functions. Also clarifying that fboundp checks for an operator macro binding (not a symbol macro binding).
Diffstat (limited to 'txr.1')
-rw-r--r--txr.114
1 files changed, 11 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index aa281265..eb328c41 100644
--- a/txr.1
+++ b/txr.1
@@ -13012,10 +13012,11 @@ functions. If a nonexistent place is deleted, the prior value yielded
by the deletion is deemed to be
.codn nil .
-.coNP Functions @ boundp and @ fboundp
+.coNP Functions @, boundp @, fboundp and @ mboundp
.synb
.mets (boundp << symbol )
.mets (fboundp << symbol )
+.mets (mboundp << symbol )
.syne
.desc
.code boundp
@@ -13028,8 +13029,15 @@ environment, otherwise
.code fboundp
returns
.code t
-if the symbol has a function or macro binding in the global
-environment, or if it is an operator, otherwise
+if the symbol has a function or operator macro binding in the global
+environment, or if it is a special operator, otherwise
+.codn nil .
+
+.code mboundp
+returns
+.code t
+if the symbol has an operator macro binding in the global environment,
+otherwise
.codn nil .
.coNP Functions @ makunbound and @ fmakunbound