summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-12-10 20:05:27 -0800
committerKaz Kylheku <kaz@kylheku.com>2016-12-10 20:05:27 -0800
commit22c3bc10879cc1ee73e8a057f772d4619a0e8d00 (patch)
treed344fd40349a6bda70dc1232da6ea4b232d46d5d /txr.1
parent9437508fe4a99cf13a391a5d82820db7b48bfc99 (diff)
downloadtxr-22c3bc10879cc1ee73e8a057f772d4619a0e8d00.tar.gz
txr-22c3bc10879cc1ee73e8a057f772d4619a0e8d00.tar.bz2
txr-22c3bc10879cc1ee73e8a057f772d4619a0e8d00.zip
doc: wording under listp
* txr.1: adding a few pointless weasel words.
Diffstat (limited to 'txr.1')
-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.