diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-03-12 22:37:21 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-03-12 22:37:21 -0700 |
commit | 33e0a53bd96744a92fef7e364e7625bde57d7699 (patch) | |
tree | 1065b0c534a555cba9c96bf17bc473f552b13c11 /tests | |
parent | 7717eedcb68dfa7cfdd2327f9c29f99e9ecc4c01 (diff) | |
download | txr-33e0a53bd96744a92fef7e364e7625bde57d7699.tar.gz txr-33e0a53bd96744a92fef7e364e7625bde57d7699.tar.bz2 txr-33e0a53bd96744a92fef7e364e7625bde57d7699.zip |
lib: introduce new make_lazy_cons variant.
* lib.c (make_lazy_cons_car_cdr): New function.
(lazy_where_func, lazy_where_hash_func, where): Use
make_lazy_cons_car and the new make_lazy_cons_car_cdr instead
of two-step construction and initialization with us_rplaca and
us_rplacd.
* lib.h (make_lazy_cons_car_cdr): Declared.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions