summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-14 14:43:03 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-14 14:43:03 -0800
commit311294aef85c349ee71c3925a52d0888073a1fa0 (patch)
treec1fb738b283405460d30abb9dd3ab759f32501b6 /ChangeLog
parent1f2f893c7de22ef3f64d68e0b62d43fbdb07af7c (diff)
downloadtxr-311294aef85c349ee71c3925a52d0888073a1fa0.tar.gz
txr-311294aef85c349ee71c3925a52d0888073a1fa0.tar.bz2
txr-311294aef85c349ee71c3925a52d0888073a1fa0.zip
* lib.c (car, cdr): Semantics fix for lazy conses.
Ignore the return value of the lazy cons function: do not return nil if the function returns nil. This useless behavior was a source of inconvenience in lazy cons programming, requiring the lazy function to return non-nil in addition to installing the car and cdr fields.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8caaf6a6..1dfaffb5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2011-12-14 Kaz Kylheku <kaz@kylheku.com>
+ * lib.c (car, cdr): Semantics fix for lazy conses.
+ Ignore the return value of the lazy cons function: do not
+ return nil if the function returns nil.
+ This useless behavior was a source of inconvenience in lazy
+ cons programming, requiring the lazy function to return
+ non-nil in addition to installing the car and cdr fields.
+
+2011-12-14 Kaz Kylheku <kaz@kylheku.com>
+
* arith.c (abso): broken for fixnums.
2011-12-14 Kaz Kylheku <kaz@kylheku.com>