summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-27 07:52:02 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-27 07:52:02 -0800
commit73bcd69a66e50e08bace63cc2392803fd991f6f0 (patch)
tree29382e5ac47bddfe93d2b49e84d90c5d0fc27965 /lib.h
parent66858a6c861796b58b51cdc1f0a125621ec1b376 (diff)
downloadtxr-73bcd69a66e50e08bace63cc2392803fd991f6f0.tar.gz
txr-73bcd69a66e50e08bace63cc2392803fd991f6f0.tar.bz2
txr-73bcd69a66e50e08bace63cc2392803fd991f6f0.zip
* lib.c (copy): New function.
* lib.h (copy): Declared. * eval.c (eval_init): Registered copy function as intrinsic. * txr.1: Added missing documentation for length. Documented copy.
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 d3f251fc..d2548e09 100644
--- a/lib.h
+++ b/lib.h
@@ -687,6 +687,7 @@ val posq(val obj, val list);
val pos(val list, val key, val testfun, val keyfun);
val pos_if(val pred, val list, val key);
val set_diff(val list1, val list2, val testfun, val keyfun);
+val copy(val seq);
val length(val seq);
val sub(val seq, val from, val to);
val ref(val seq, val ind);