diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-01-26 20:37:23 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-01-26 20:37:23 -0800 |
commit | 03870bed9fc6d9769b6dd5b1dd12631d9afa1a0d (patch) | |
tree | a1a51b6cd9d693435a86976b551f7dcb91e24773 | |
parent | deb8db04390dc721c55d4e874f03cdf8c6f92de0 (diff) | |
download | txr-03870bed9fc6d9769b6dd5b1dd12631d9afa1a0d.tar.gz txr-03870bed9fc6d9769b6dd5b1dd12631d9afa1a0d.tar.bz2 txr-03870bed9fc6d9769b6dd5b1dd12631d9afa1a0d.zip |
Document that source for range assignment can be a string, vector or list.
-rw-r--r-- | txr.1 | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -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 |