summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-03-18 06:55:03 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-03-18 06:55:03 -0700
commitcface6195a4ef2c445c995d5d95d1d06b0c830ac (patch)
treec7aa743c92bb2ae8c0e21457e643703b9a1fa5e5
parent9759ea9257780e73d85466323b11894de521c58b (diff)
downloadtxr-cface6195a4ef2c445c995d5d95d1d06b0c830ac.tar.gz
txr-cface6195a4ef2c445c995d5d95d1d06b0c830ac.tar.bz2
txr-cface6195a4ef2c445c995d5d95d1d06b0c830ac.zip
doc: clarify split/partition difference.
* txr.1: Under in split doc, add a sentence highlighting the difference between split and partition.
-rw-r--r--txr.18
1 files changed, 8 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 1572c396..358ccb8f 100644
--- a/txr.1
+++ b/txr.1
@@ -28514,6 +28514,14 @@ The length of
is added to any negative indices. An index which is still negative
after being thus displaced is discarded.
+Note: the principal difference between
+.code split
+and
+.code partition
+is that
+.code partition
+does not produce empty pieces.
+
.TP* Examples:
.cblk
(split '(1 2 3) 1) -> ((1) (2 3))