Remove the SRFI-1 C proxies.
[bpt/guile.git] / libguile / srfi-1.h
1 /* srfi-1.h --- SRFI-1 procedures for Guile
2 *
3 * Copyright (C) 2002, 2003, 2005, 2006, 2010 Free Software Foundation, Inc.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 3 of
8 * the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18 * 02110-1301 USA
19 */
20 \f
21
22 #ifndef SCM_SRFI_1_H
23 #define SCM_SRFI_1_H
24
25 #include "libguile/__scm.h"
26
27 SCM_INTERNAL SCM scm_srfi1_alist_copy (SCM alist);
28 SCM_INTERNAL SCM scm_srfi1_append_reverse (SCM revhead, SCM tail);
29 SCM_INTERNAL SCM scm_srfi1_append_reverse_x (SCM revhead, SCM tail);
30 SCM_INTERNAL SCM scm_srfi1_concatenate (SCM lstlst);
31 SCM_INTERNAL SCM scm_srfi1_concatenate_x (SCM lstlst);
32 SCM_INTERNAL SCM scm_srfi1_count (SCM pred, SCM list1, SCM rest);
33 SCM_INTERNAL SCM scm_srfi1_delete (SCM x, SCM lst, SCM pred);
34 SCM_INTERNAL SCM scm_srfi1_delete_x (SCM x, SCM lst, SCM pred);
35 SCM_INTERNAL SCM scm_srfi1_delete_duplicates (SCM lst, SCM pred);
36 SCM_INTERNAL SCM scm_srfi1_delete_duplicates_x (SCM lst, SCM pred);
37 SCM_INTERNAL SCM scm_srfi1_drop_right (SCM lst, SCM n);
38 SCM_INTERNAL SCM scm_srfi1_filter_map (SCM proc, SCM list1, SCM rest);
39 SCM_INTERNAL SCM scm_srfi1_find (SCM pred, SCM lst);
40 SCM_INTERNAL SCM scm_srfi1_find_tail (SCM pred, SCM lst);
41 SCM_INTERNAL SCM scm_srfi1_length_plus (SCM lst);
42 SCM_INTERNAL SCM scm_srfi1_lset_difference_x (SCM equal, SCM lst, SCM rest);
43 SCM_INTERNAL SCM scm_srfi1_list_copy (SCM lst);
44 SCM_INTERNAL SCM scm_srfi1_map (SCM proc, SCM arg1, SCM args);
45 SCM_INTERNAL SCM scm_srfi1_for_each (SCM proc, SCM arg1, SCM args);
46 SCM_INTERNAL SCM scm_srfi1_member (SCM obj, SCM ls, SCM pred);
47 SCM_INTERNAL SCM scm_srfi1_assoc (SCM key, SCM alist, SCM pred);
48 SCM_INTERNAL SCM scm_srfi1_partition (SCM pred, SCM list);
49 SCM_INTERNAL SCM scm_srfi1_partition_x (SCM pred, SCM list);
50 SCM_INTERNAL SCM scm_srfi1_remove (SCM pred, SCM list);
51 SCM_INTERNAL SCM scm_srfi1_remove_x (SCM pred, SCM list);
52 SCM_INTERNAL SCM scm_srfi1_split_at (SCM lst, SCM n);
53 SCM_INTERNAL SCM scm_srfi1_split_at_x (SCM lst, SCM n);
54 SCM_INTERNAL SCM scm_srfi1_take_right (SCM lst, SCM n);
55
56 SCM_INTERNAL void scm_register_srfi_1 (void);
57 SCM_INTERNAL void scm_init_srfi_1 (void);
58
59 #endif /* SCM_SRFI_1_H */