summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-10-03 07:44:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-10-03 07:44:53 -0700
commit9378cb7d1ea79de9fc20bdfeb5b5c912189cb6cb (patch)
tree50f5658c5d7e0cafd7167a4e3ff8850f7bebefed
parent37f53c36cdfc3c5e69e3b20e74baf4bef8b82f12 (diff)
downloadtxr-9378cb7d1ea79de9fc20bdfeb5b5c912189cb6cb.tar.gz
txr-9378cb7d1ea79de9fc20bdfeb5b5c912189cb6cb.tar.bz2
txr-9378cb7d1ea79de9fc20bdfeb5b5c912189cb6cb.zip
doc: update less on vectors text.
* txr.1: Improve wording in the description of how the less function operates on vectors.
-rw-r--r--txr.111
1 files changed, 8 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index 32f06a45..3c8fb136 100644
--- a/txr.1
+++ b/txr.1
@@ -15369,10 +15369,15 @@ Note that the empty
list nil compared to a cons is handled by type-based precedence, described
below.
-If the arguments are vectors, they are compared lexicographically, similar
+
+Two vectors are compared by
+.code less
+lexicographically, similarly
to strings. Corresponding elements, starting with element 0, of the
-vectors are compared until an index position is found where the vectors
-differ. If this differing position is beyond the end of one of the two vectors,
+vectors are compared until an index position is found where corresponding
+elements of the two vectors are not
+.metn equal .
+If this differing position is beyond the end of one of the two vectors,
then the shorter vector is considered to be lesser. Otherwise, the result
of
.code less