summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-01-11 10:08:32 -0800
committerKaz Kylheku <kaz@kylheku.com>2015-01-11 10:08:32 -0800
commit384262e2f0effb4b7bbd2effa9311899fa253799 (patch)
tree5979c5ad1bc11d3b35942805630eaf7f60a29cc9 /txr.1
parentb8b1c891f17d26cf3b13e77c1657cd855ae6543b (diff)
downloadtxr-384262e2f0effb4b7bbd2effa9311899fa253799.tar.gz
txr-384262e2f0effb4b7bbd2effa9311899fa253799.tar.bz2
txr-384262e2f0effb4b7bbd2effa9311899fa253799.zip
* lib.c (make_like): Bugfix. (make-like nil "abc")
must return the empty string, not nil. Only lists of non-characters fail to convert to a string. Since programs may depend on the hitherto wrong, undocumented behavior, this is made subject to compatibility. * txr.1: Added compatibility note.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.112
1 files changed, 12 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 8b329d7b..fb1b3c37 100644
--- a/txr.1
+++ b/txr.1
@@ -26443,6 +26443,18 @@ can be emulated is \*(TX 97.
Here are values which have a special meaning as arguments to the
.code -C
option, along with a description of what behaviors are affected:
+.IP 101
+Up to \*(TX 101, the
+.code make-like
+function incorrectly returned
+.code nil
+when converting the empty list
+.code nil
+to string type. This affects numerous generic sequence functions,
+causing their result to be
+.code nil
+instead of an empty string.
+
.IP 100
Up to \*(TX 100, the
.code split-str