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
commitcd29d77f8e652a2060d80d91f4900f4d174d4b44 (patch)
treec9d7a7f5b0b319d011d5ced09e079f7b991a0542
parentc80717a05df77cc7f0e92b1f73cc0d1967d17618 (diff)
downloadtxr-cd29d77f8e652a2060d80d91f4900f4d174d4b44.tar.gz
txr-cd29d77f8e652a2060d80d91f4900f4d174d4b44.tar.bz2
txr-cd29d77f8e652a2060d80d91f4900f4d174d4b44.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