mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
* list.h (SCM_LISTn): New macros. Make list creation in C code
prettier. The idea comes from STk. * sequences.h, sequences.c, append.h, append.c: Removed. These files implemented non-R4RS operations which would encourage non-portable programming style and less easy-to-read code. * Makefile.am (sequences.h, sequences.c, append.h, append.c): Removed. * libguile.h, eval.c, init.c, stime.c, unif.c: Removed #include sequences.h, #include append.h. * gh.h, gh_list.c: Renamed gh_list_length --> gh_length. * list.h, list.c: Renamed scm_list_length --> scm_length, scm
This commit is contained in:
parent
e69807f074
commit
92396c0aa1
9 changed files with 84 additions and 32 deletions
|
@ -153,7 +153,7 @@ SCM gh_module_lookup (SCM vector, char *sname);
|
|||
|
||||
SCM gh_cons(SCM x, SCM y);
|
||||
#define gh_list scm_listify
|
||||
unsigned long gh_list_length(SCM l);
|
||||
unsigned long gh_length(SCM l);
|
||||
|
||||
SCM gh_car(SCM x);
|
||||
SCM gh_cdr(SCM x);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue