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
commit7e2d1ec815c6eb6670381c1b2aabfea57003c529 (patch)
treec7aa743c92bb2ae8c0e21457e643703b9a1fa5e5
parentab87b9f00673e65b6648ace026a815cc8e7ac542 (diff)
downloadtxr-7e2d1ec815c6eb6670381c1b2aabfea57003c529.tar.gz
txr-7e2d1ec815c6eb6670381c1b2aabfea57003c529.tar.bz2
txr-7e2d1ec815c6eb6670381c1b2aabfea57003c529.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))