9d870389a1e08464ade6815178229df14529e4e1
[bpt/guile.git] / libguile / ramap.h
1 /* classes: h_files */
2
3 #ifndef SCM_RAMAP_H
4 #define SCM_RAMAP_H
5
6 /* Copyright (C) 1995,1996,1997,2000, 2006, 2008 Free Software Foundation, Inc.
7 *
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2.1 of the License, or (at your option) any later version.
12 *
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
17 *
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 */
22
23 \f
24
25 #include "libguile/__scm.h"
26
27 \f
28
29 SCM_API int scm_ra_matchp (SCM ra0, SCM ras);
30 SCM_API int scm_ramapc (int (*cproc) (), SCM data, SCM ra0, SCM lra,
31 const char *what);
32 SCM_API int scm_array_fill_int (SCM ra, SCM fill, SCM ignore);
33 SCM_API SCM scm_array_fill_x (SCM ra, SCM fill);
34 SCM_API SCM scm_array_copy_x (SCM src, SCM dst);
35 SCM_API int scm_ra_eqp (SCM ra0, SCM ras);
36 SCM_API int scm_ra_lessp (SCM ra0, SCM ras);
37 SCM_API int scm_ra_leqp (SCM ra0, SCM ras);
38 SCM_API int scm_ra_grp (SCM ra0, SCM ras);
39 SCM_API int scm_ra_greqp (SCM ra0, SCM ras);
40 SCM_API int scm_ra_sum (SCM ra0, SCM ras);
41 SCM_API int scm_ra_difference (SCM ra0, SCM ras);
42 SCM_API int scm_ra_product (SCM ra0, SCM ras);
43 SCM_API int scm_ra_divide (SCM ra0, SCM ras);
44 SCM_API int scm_array_identity (SCM src, SCM dst);
45 SCM_API SCM scm_array_map_x (SCM ra0, SCM proc, SCM lra);
46 SCM_API SCM scm_array_for_each (SCM proc, SCM ra0, SCM lra);
47 SCM_API SCM scm_array_index_map_x (SCM ra, SCM proc);
48 SCM_API SCM scm_raequal (SCM ra0, SCM ra1);
49 SCM_API SCM scm_array_equal_p (SCM ra0, SCM ra1);
50 SCM_INTERNAL void scm_init_ramap (void);
51
52 #endif /* SCM_RAMAP_H */
53
54 /*
55 Local Variables:
56 c-file-style: "gnu"
57 End:
58 */