diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-04-13 02:54:08 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-04-13 02:54:08 -0700 |
commit | 3081448751067b32ff758f1ac04e2ec7369bfff4 (patch) | |
tree | 1cb887cca069cdc862a8b21d9a2e94575bda027c /cppawk-include/cons-priv.h | |
parent | a82b2fbeaa96e3e9531f929bb067448260495d19 (diff) | |
download | cppawk-3081448751067b32ff758f1ac04e2ec7369bfff4.tar.gz cppawk-3081448751067b32ff758f1ac04e2ec7369bfff4.tar.bz2 cppawk-3081448751067b32ff758f1ac04e2ec7369bfff4.zip |
fun now implemented by fun-priv.
Diffstat (limited to 'cppawk-include/cons-priv.h')
-rw-r--r-- | cppawk-include/cons-priv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppawk-include/cons-priv.h b/cppawk-include/cons-priv.h index 3ce5873..43bd43f 100644 --- a/cppawk-include/cons-priv.h +++ b/cppawk-include/cons-priv.h @@ -49,8 +49,8 @@ #endif #if __have_indirect_functions -#ifndef __CPPAWK_FUN_H -#include "fun.h" +#ifndef __CPPAWK_FUN_PRIV_H +#include "fun-priv.h" #endif #endif @@ -746,7 +746,7 @@ function __mapcar(__fun, __lst, { __temp = __list_begin() __dolist(__item, __lst) - __temp = __list_add(__temp, call(__fun, __item)) + __temp = __list_add(__temp, __call(__fun, __item)) return __list_end(__temp) } @@ -755,7 +755,7 @@ function __mappend(__fun, __lst, { __temp = __nil __dolist(__item, __lst) - __temp = __append2(__temp, call(__fun, __item)) + __temp = __append2(__temp, __call(__fun, __item)) return __temp } |