summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2013-06-11 16:12:49 -0700
committerKaz Kylheku <kaz@kylheku.com>2013-06-11 16:12:49 -0700
commita6b0130ceaeadce6845d698fb68712dc2786e918 (patch)
treedc7bf64d77c90a277ed9d322ae66f4b70cfb73c0 /ChangeLog
parent573ac250cbf85b32f50545269c994292440d0b5d (diff)
downloadtxr-a6b0130ceaeadce6845d698fb68712dc2786e918.tar.gz
txr-a6b0130ceaeadce6845d698fb68712dc2786e918.tar.bz2
txr-a6b0130ceaeadce6845d698fb68712dc2786e918.zip
* eval.c (eval_init): lazy-str's third argument is optional.
Added lazy-stringp. Changing names of length-str-{gt,ge,lt,le} to be consistent with the >, >=, < and <= functions. * lib.c (lazy_stream_func): Greatly simplified implementation. The lazy list now continues by means of recursing via an optimized version of lazy_stream_cons called lazy_stream_cont. The environment structure is simplified to just hold the next item, rather than a pointless list. The pointless setting of lcons->lc.func to nil is also removed; this is always done by the caller. (lazy_stream_cont): New static function, similar to lazy_stream_cons, but optimized by not consing up a new function and new environment cell. (lazy_stream_cons): The environment for the update function is simplified to just a single cons. * txr.1: Documented lazy string functions and lazy-stream-cons.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog20
1 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dba9c02a..e062c16b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,23 @@
+2013-06-11 Kaz Kylheku <kaz@kylheku.com>
+
+ * eval.c (eval_init): lazy-str's third argument is optional.
+ Added lazy-stringp. Changing names of length-str-{gt,ge,lt,le}
+ to be consistent with the >, >=, < and <= functions.
+
+ * lib.c (lazy_stream_func): Greatly simplified implementation.
+ The lazy list now continues by means of recursing via
+ an optimized version of lazy_stream_cons called lazy_stream_cont.
+ The environment structure is simplified to just hold the next item,
+ rather than a pointless list. The pointless setting of lcons->lc.func
+ to nil is also removed; this is always done by the caller.
+ (lazy_stream_cont): New static function, similar to lazy_stream_cons,
+ but optimized by not consing up a new function and new environment
+ cell.
+ (lazy_stream_cons): The environment for the update function
+ is simplified to just a single cons.
+
+ * txr.1: Documented lazy string functions and lazy-stream-cons.
+
2012-03-18 Kaz Kylheku <kaz@kylheku.com>
* eval.c (eval_init): lazy string related functions become intrinsics.