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