diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-01-15 16:12:09 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-01-15 16:12:09 -0800 |
commit | 84e0e1784a72f3210303b9f42f31122fd648f0e9 (patch) | |
tree | ef423205949772f34b150a673b779bf6f44f1114 /eval.c | |
parent | c058a946c6fbc918ff233aea1e301921e7ce68b8 (diff) | |
download | txr-84e0e1784a72f3210303b9f42f31122fd648f0e9.tar.gz txr-84e0e1784a72f3210303b9f42f31122fd648f0e9.tar.bz2 txr-84e0e1784a72f3210303b9f42f31122fd648f0e9.zip |
maprod, maprend: correct self name.
* eval.c (maprodv, maprendv): These functions implement maprod
and maprend; the v suffix is just in the C code and must not be
part of the self name.
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5473,12 +5473,12 @@ static val prod_common(val self, val fun, struct args *lists, val maprodv(val fun, struct args *lists) { - return prod_common(lit("maprodv"), fun, lists, list_collect, mapcarv); + return prod_common(lit("maprod"), fun, lists, list_collect, mapcarv); } val maprendv(val fun, struct args *lists) { - return prod_common(lit("maprendv"), fun, lists, list_collect_append, mappendv); + return prod_common(lit("maprend"), fun, lists, list_collect_append, mappendv); } static loc collect_nothing(loc ptail, val obj) |