summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-15 15:46:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-15 15:46:49 -0800
commit13c9609500c02a10fbea9cd833615a4ceee7dd43 (patch)
treeb90cef4353a2a3855d98c8e2e2f6bb4272604f34 /stream.h
parente3390f1ed75d58f78218acf22c2a9209a88a14a2 (diff)
downloadtxr-13c9609500c02a10fbea9cd833615a4ceee7dd43.tar.gz
txr-13c9609500c02a10fbea9cd833615a4ceee7dd43.tar.bz2
txr-13c9609500c02a10fbea9cd833615a4ceee7dd43.zip
* eval.c (eval_init): not added as synonym for null.
* lib.c (copy_list): Use list_collect_append rather than list_collect_terminate. (append2, appendv): Simplified using new list_collect_append. (nappend2): Simplified using new list_collect_nconc. * lib.h (list_collect): Added check for accidental usage of list_collect after list_append, since PTAIL has different semantics. (list_collect_nconc, list_collect_append): Semantics fixed so that append collecting works more like the Common Lisp append function, allowing trailing atoms or a lone atom. The meaning of PTAIL is changed, however. Now PTAIL actually tracks the head of the most recently appended segment. Each append operation has to first traverse the previously added piece to get to the end. (list_collect_terminate): Macro removed. * match.c (v_gather): Removed useless use of list_collect_terminate. * parser.y: Some headers added that are needed by list_collect. * txr.1: Documented append, list, atom, null, not, consp, make-lazy-cons, lcons-fun, listp, proper-listp, length-list, mapcar, mappend, and apply.
Diffstat (limited to 'stream.h')
0 files changed, 0 insertions, 0 deletions