summaryrefslogtreecommitdiff
path: root/libguile/unif.c
diff options
context:
space:
mode:
authorMikael Djurfeldt <djurfeldt@nada.kth.se>1997-09-15 21:20:48 +0000
committerMikael Djurfeldt <djurfeldt@nada.kth.se>1997-09-15 21:20:48 +0000
commit92396c0aa11dfff27e62fbb8bbc1c20f57c2c766 (patch)
treea9e9fe12d9937757c4db61ea9aa7cb316d224bb6 /libguile/unif.c
parente69807f074a9889e8a7243a20b40722a8710b008 (diff)
downloadguile-92396c0aa11dfff27e62fbb8bbc1c20f57c2c766.tar.gz
* 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
Diffstat (limited to 'libguile/unif.c')
-rw-r--r--libguile/unif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libguile/unif.c b/libguile/unif.c
index 10f9f651a..17b5fbd7a 100644
--- a/libguile/unif.c
+++ b/libguile/unif.c
@@ -46,7 +46,6 @@
#include "eval.h"
#include "genio.h"
#include "smob.h"
-#include "sequences.h"
#include "strop.h"
#include "feature.h"
@@ -725,7 +724,7 @@ scm_make_shared_array (oldra, mapfunc, dims)
return ra;
}
}
- imap = scm_apply (mapfunc, scm_list_reverse (inds), SCM_EOL);
+ imap = scm_apply (mapfunc, scm_reverse (inds), SCM_EOL);
if (SCM_ARRAYP (oldra))
i = (scm_sizet) scm_aind (oldra, imap, s_make_shared_array);
else