diff options
| author | Mistivia <i@mistivia.com> | 2025-06-24 22:32:57 +0800 |
|---|---|---|
| committer | Mistivia <i@mistivia.com> | 2025-06-24 22:34:19 +0800 |
| commit | 44642d96eaef834b4bb846d27347ee681f9f5f7b (patch) | |
| tree | 6e288498788115415650546f11a54a2a17766b15 /src/builtins.h | |
| parent | 7dd5aa6065c00ed2d85b191e7e3cd4b12467408d (diff) | |
add more list funcs
Diffstat (limited to 'src/builtins.h')
| -rw-r--r-- | src/builtins.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/builtins.h b/src/builtins.h index e7712d4..bf97086 100644 --- a/src/builtins.h +++ b/src/builtins.h @@ -3,6 +3,17 @@ #include "interp.h" +SExpRef builtin_listp(Interp *interp, SExpRef args); +SExpRef builtin_consp(Interp *interp, SExpRef args); +SExpRef builtin_atomp(Interp *interp, SExpRef args); +SExpRef builtin_nullp(Interp *interp, SExpRef args); +SExpRef builtin_memberp(Interp *interp, SExpRef args); +SExpRef builtin_numberp(Interp *interp, SExpRef args); +SExpRef builtin_integerp(Interp *interp, SExpRef args); +SExpRef builtin_floatp(Interp *interp, SExpRef args); +SExpRef builtin_nreverse(Interp *interp, SExpRef args); +SExpRef builtin_reverse(Interp *interp, SExpRef args); +SExpRef builtin_last(Interp *interp, SExpRef args); SExpRef builtin_map(Interp *interp, SExpRef args); SExpRef builtin_filter(Interp *interp, SExpRef args); SExpRef builtin_remove(Interp *interp, SExpRef args); |
