From befe64b826765e8f9e6834fb482c8bfbbf19b8a5 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Thu, 26 Jan 2012 20:37:23 -0800 Subject: Document that source for range assignment can be a string, vector or list. --- txr.1 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'txr.1') 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 , or 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 -- cgit v1.2.3