diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-20 06:19:28 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-20 06:19:28 -0700 |
commit | 004e19fb9ad4ffdec3cd2389289580c112b715c1 (patch) | |
tree | 7d0877a6a0a083fcf095af0bcf9a92dc1a7f5803 /txr.1 | |
parent | 2cec86984b7110a6a464b992edb6160149a0a75f (diff) | |
download | txr-004e19fb9ad4ffdec3cd2389289580c112b715c1.tar.gz txr-004e19fb9ad4ffdec3cd2389289580c112b715c1.tar.bz2 txr-004e19fb9ad4ffdec3cd2389289580c112b715c1.zip |
take-until: rewrite with seq_info; elide cons.
* lib.c (take_until_list_fun): Renamed to
lazy_take_until_list_fun.
(lazy_take_until_list_fun, take_until): take_until upgraded to
use seq_info to classify sequence. In the lazy list case, the
state cons is elided; the predicate function is passed as the
function environment, and the key function and list being
traversed are propagated via the lazy cons car and cdr.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions