summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-02 02:37:17 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-02 02:37:17 -0800
commit256ba9369ab15b1eced9aa81fd1e466e138e2933 (patch)
treec579e25cf5e1cd302755c486c66f742eef853099 /lib.h
parent97b07f495505f5e3b9b0e99e8d024d85eedf0952 (diff)
downloadtxr-256ba9369ab15b1eced9aa81fd1e466e138e2933.tar.gz
txr-256ba9369ab15b1eced9aa81fd1e466e138e2933.tar.bz2
txr-256ba9369ab15b1eced9aa81fd1e466e138e2933.zip
* eval.c (apply): Support string and vector arglist.
(do_eval_args): Support string or vector in dot position. * lib.c (tolist): New function. * lib.h (tolist): Declared. * txr.1: Document how apply and dot position in compound forms supports strings as well as vectors.
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib.h b/lib.h
index 6a12cf36..451fe234 100644
--- a/lib.h
+++ b/lib.h
@@ -377,6 +377,7 @@ val push(val v, val *plist);
val copy_list(val list);
val make_like(val list, val thatobj);
val to_seq(val obj);
+val tolist(val seq);
val nreverse(val in);
val reverse(val in);
val append2(val list1, val list2);