diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-07-08 07:36:25 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-07-08 07:36:25 -0700 |
commit | 2c2fe9fc598e6677e9b16372b65c477c5ba6d03b (patch) | |
tree | 590c017d9ac8650ccb05f979be0bc06a7f031d8b /genvim.txr | |
parent | fa3c90eb3ac48abd8bb9065884fe15523a864766 (diff) | |
download | txr-2c2fe9fc598e6677e9b16372b65c477c5ba6d03b.tar.gz txr-2c2fe9fc598e6677e9b16372b65c477c5ba6d03b.tar.bz2 txr-2c2fe9fc598e6677e9b16372b65c477c5ba6d03b.zip |
list_seq: return lazy list, not eager.
* lib.c (list_seq_func): New static function.
(list_seq): Convert to lazy processing. The iterator is
threaded through the lazy cons's car field, so we don't have
to mutate the function's environment.
* txr.1: Added note about list-seq producing a lazy list.
Diffstat (limited to 'genvim.txr')
0 files changed, 0 insertions, 0 deletions