summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-01-26 20:37:23 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-01-26 20:37:23 -0800
commitbefe64b826765e8f9e6834fb482c8bfbbf19b8a5 (patch)
treea1a51b6cd9d693435a86976b551f7dcb91e24773
parentb4bca7645111c277afa6f6cde03d0f51592b4748 (diff)
downloadtxr-befe64b826765e8f9e6834fb482c8bfbbf19b8a5.tar.gz
txr-befe64b826765e8f9e6834fb482c8bfbbf19b8a5.tar.bz2
txr-befe64b826765e8f9e6834fb482c8bfbbf19b8a5.zip
Document that source for range assignment can be a string, vector or list.
-rw-r--r--txr.112
1 files changed, 9 insertions, 3 deletions
diff --git a/txr.1 b/txr.1
index 39745095..75814bc3 100644
--- a/txr.1
+++ b/txr.1
@@ -4915,9 +4915,15 @@ Retrieve a value from the hash table corresponding to <key>,
or <default-value> if there is no such entry.
The places denoted by the dwim operator can be assigned. There are some
-restrictions. List, string and vector ranges can only be replaced with set. The
-other operators like push do not apply. Characters in a string can only be
-assigned with set or incremented with inc and dec.
+restrictions. List, string and vector ranges can only be replaced using
+the set operator. The other operators like push do not apply.
+Characters in a string can only be assigned with set or incremented with inc
+and dec.
+
+The source of a range assignment can be a string, vector or list,
+regardless of whether the target is a string, vector or list.
+If the target is a string, the replacement sequence must be
+a string, or a list or vector of characters.
.TP
Range Indexing