summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2024-02-27 20:13:01 -0800
committerKaz Kylheku <kaz@kylheku.com>2024-02-27 20:13:01 -0800
commitee9fb41197c8a948144b9f384da273688bdd538c (patch)
treecfaa9cf87db76490574aaaa23b3481e17dce99af /Makefile
parentfb09dfc8559a5b01c75b691613cf9eda54f7bee5 (diff)
downloadtxr-ee9fb41197c8a948144b9f384da273688bdd538c.tar.gz
txr-ee9fb41197c8a948144b9f384da273688bdd538c.tar.bz2
txr-ee9fb41197c8a948144b9f384da273688bdd538c.zip
mapcar, mappend: switch to seq_build.
* lib.c (mapcar): Implement with seq_iter and seq_build, rather than relying on mapcar_listout and make_like. (mappend): Replace list_collect_decl and make_like with seq_build. * eval.c (map_common): Replace list_collect_decl and make_like with seq_build. The collect_fn is now a pointer to either seq_add or seq_pend rather than list_collect or list_collect_append. (mapcarv, mappendv): Pass seq_add and seq_pend to map_common, rather than list_collect and list_collect_append.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions