32-way branching in intmap.scm, not 16-way
[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, 2011 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_append_reverse (SCM revhead, SCM tail);
28 SCM_INTERNAL SCM scm_srfi1_append_reverse_x (SCM revhead, SCM tail);
29 SCM_INTERNAL SCM scm_srfi1_concatenate (SCM lstlst);
30 SCM_INTERNAL SCM scm_srfi1_concatenate_x (SCM lstlst);
31 SCM_INTERNAL SCM scm_srfi1_count (SCM pred, SCM list1, SCM rest);
32 SCM_INTERNAL SCM scm_srfi1_delete (SCM x, SCM lst, SCM pred);
33 SCM_INTERNAL SCM scm_srfi1_delete_x (SCM x, SCM lst, SCM pred);
34 SCM_INTERNAL SCM scm_srfi1_delete_duplicates (SCM lst, SCM pred);
35 SCM_INTERNAL SCM scm_srfi1_delete_duplicates_x (SCM lst, SCM pred);
36 SCM_INTERNAL SCM scm_srfi1_find (SCM pred, SCM lst);
37 SCM_INTERNAL SCM scm_srfi1_find_tail (SCM pred, SCM lst);
38 SCM_INTERNAL SCM scm_srfi1_length_plus (SCM lst);
39 SCM_INTERNAL SCM scm_srfi1_lset_difference_x (SCM equal, SCM lst, SCM rest);
40 SCM_INTERNAL SCM scm_srfi1_list_copy (SCM lst);
41 SCM_INTERNAL SCM scm_srfi1_assoc (SCM key, SCM alist, SCM pred);
42 SCM_INTERNAL SCM scm_srfi1_partition (SCM pred, SCM list);
43 SCM_INTERNAL SCM scm_srfi1_partition_x (SCM pred, SCM list);
44 SCM_INTERNAL SCM scm_srfi1_remove (SCM pred, SCM list);
45 SCM_INTERNAL SCM scm_srfi1_remove_x (SCM pred, SCM list);
46
47 SCM_INTERNAL void scm_register_srfi_1 (void);
48 SCM_INTERNAL void scm_init_srfi_1 (void);
49
50 #endif /* SCM_SRFI_1_H */