summaryrefslogtreecommitdiffstats
path: root/lib.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-07-19 10:24:10 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-07-19 10:24:10 -0700
commit53fb3e6b09dbe62d66c516870855ba448f56c4b0 (patch)
tree6489c60e0517780cdc95252462b9f4865a7f5514 /lib.h
parent5b0a9e5fe1032653c745e56a2f39561a1d7b7661 (diff)
downloadtxr-53fb3e6b09dbe62d66c516870855ba448f56c4b0.tar.gz
txr-53fb3e6b09dbe62d66c516870855ba448f56c4b0.tar.bz2
txr-53fb3e6b09dbe62d66c516870855ba448f56c4b0.zip
* eval.c (mapdov): New function.
(eval_init): Register mapdo intrinsic. * lib.c (mapdo): New function. * lib.h (mapdo): Declared. * txr.1: Documented mapdo. Documented zero-argument case for mapcar, mapcar*, mappend and mappend*.
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 27b5c544..30931b4b 100644
--- a/lib.h
+++ b/lib.h
@@ -743,6 +743,7 @@ val mapcar_listout(val fun, val list);
val mapcar(val fun, val list);
val mapcon(val fun, val list);
val mappend(val fun, val list);
+val mapdo(val fun, val list);
val interpose(val sep, val seq);
val merge(val list1, val list2, val lessfun, val keyfun);
val sort(val seq, val lessfun, val keyfun);