summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-01-03 20:44:55 -0800
committerKaz Kylheku <kaz@kylheku.com>2024-01-03 20:44:55 -0800
commit59eef4ae975081494069ba3e66b0ea52f67bd7ed (patch)
treec9d7a7f5b0b319d011d5ced09e079f7b991a0542
parent2ae1e9a0c2d2d9087368fe3bec25a19c64ae0f91 (diff)
downloadtxr-59eef4ae975081494069ba3e66b0ea52f67bd7ed.tar.gz
txr-59eef4ae975081494069ba3e66b0ea52f67bd7ed.tar.bz2
txr-59eef4ae975081494069ba3e66b0ea52f67bd7ed.zip
doc: clarification regarding sort stability.
* txr.1: Clarify that both sort and nsort are not stable for vectors and strings.
-rw-r--r--txr.14
1 files changed, 3 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index b9c79f81..6661dda3 100644
--- a/txr.1
+++ b/txr.1
@@ -38547,7 +38547,9 @@ functions are stable for sequences which are lists. This means that the
original order of items which are considered identical is preserved.
For strings and vectors,
.code sort
-is not stable.
+and
+.code nsort
+are not stable.
The
.code ssort