summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--txr.18
1 files changed, 6 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index add132ad..ca74fe48 100644
--- a/txr.1
+++ b/txr.1
@@ -17010,9 +17010,13 @@ The
.code listp
test is weaker, and executes without having to traverse
the object.
+The value produced by the expression
.code "(listp x)"
-is equivalent to
-.codn "(or (null x) (consp x))" .
+is the same as that of
+.codn "(or (null x) (consp x))" ,
+except that
+.code x
+is evaluated only once.
The empty list
.code nil
is a list, and a cons cell is a list.