summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.19
1 files changed, 9 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 2e499bef..49333855 100644
--- a/txr.1
+++ b/txr.1
@@ -5037,6 +5037,15 @@ The ldiff operation starts with "abcd" and repeatedly applies cdr to produce
Operations based on car, cdr and ldiff, such as keep-if and remq extend to
strings and vectors.
+Derived list processing operations such as remq or mapcar obey the following
+rule: the returned object follows the type of the leftmost input list object.
+For instance, if one or more sequences are processed by mapcar, and the
+leftmost one is a character string, the function is expected to return
+characters, which are converted to a character string.
+
+The lazy versions of these functions such as mapcar* do not have this behavior;
+they produce lazy lists.
+
.SH CONTROL FLOW AND SEQUENCING
When the first element of a compound expression is an operator symbol,