diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-03-28 19:14:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-03-28 19:14:53 -0700 |
commit | 084bde656bac142bba5311b519c7bb78e2c45dad (patch) | |
tree | 4966a7893b0d06768ca530ebf6ed97fe4d3c8a28 /eval.h | |
parent | 051bf360110a5b9649fe9a2b5b35b2dcfed868d6 (diff) | |
download | txr-084bde656bac142bba5311b519c7bb78e2c45dad.tar.gz txr-084bde656bac142bba5311b519c7bb78e2c45dad.tar.bz2 txr-084bde656bac142bba5311b519c7bb78e2c45dad.zip |
* eval.c (prinl, pprinl): Become external functions.
(tprint): New function.
(eval_init): Register tprint as intrinsic.
* eval.h (prinl, pprinl, tprint): Declared.
* txr.c (txr_main): New option, -t.
* txr.1: Documented tprint and -t option.
Diffstat (limited to 'eval.h')
-rw-r--r-- | eval.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -49,5 +49,8 @@ val bindable(val obj); val mapcarv(val fun, val list_of_lists); val lazy_mapcar(val fun, val list); val generate(val while_pred, val gen_fun); +val prinl(val obj, val stream); +val pprinl(val obj, val stream); +val tprint(val obj, val out); void eval_init(void); |