summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-08-07 13:13:50 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-08-07 13:13:50 -0700
commit78ab514b4f3b481ae006821520c6344768a529b3 (patch)
treec817b677932fec7e752ecb242f137c7f15661ba3 /txr.1
parentbde7b8dfe688ce05f445b5ed18f22d6b2a526c3a (diff)
downloadtxr-78ab514b4f3b481ae006821520c6344768a529b3.tar.gz
txr-78ab514b4f3b481ae006821520c6344768a529b3.tar.bz2
txr-78ab514b4f3b481ae006821520c6344768a529b3.zip
Make len a synonym for length.
* eval.c (eval_init): Register the same function under length and len. * txr.1: Documented.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.18
1 files changed, 7 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index ee896c98..cec90274 100644
--- a/txr.1
+++ b/txr.1
@@ -25391,9 +25391,10 @@ A sequence is defined as a list, vector or string. The object
denotes
the empty list and so is a sequence.
-.coNP Function @ length
+.coNP Functions @ length and @ len
.synb
.mets (length << object )
+.mets (len << object )
.syne
.desc
If
@@ -25403,6 +25404,11 @@ is a sequence, the
function returns the number of items it
contains.
+The
+.code len
+function is a synonym of
+.codn length .
+
The function supports these additional types:
.RS
.coIP hash