remove empty srfi-4, srfi-13, and srfi-14 shlibs
[bpt/guile.git] / srfi / srfi-1.h
... / ...
CommitLineData
1#ifndef SCM_SRFI_1_H
2#define SCM_SRFI_1_H
3/* srfi-1.h --- SRFI-1 procedures for Guile
4 *
5 * Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * as published by the Free Software Foundation; either version 3 of
10 * the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * 02110-1301 USA
21 */
22\f
23
24/* SCM_SRFI1_API is a macro prepended to all function and data definitions
25 which should be exported or imported in the resulting dynamic link
26 library in the Win32 port. */
27
28#if defined (SCM_SRFI1_IMPORT)
29# define SCM_SRFI1_API __declspec (dllimport) extern
30#elif defined (SCM_SRFI1_EXPORT) || defined (DLL_EXPORT)
31# define SCM_SRFI1_API __declspec (dllexport) extern
32#else
33# define SCM_SRFI1_API extern
34#endif
35
36SCM_SRFI1_API SCM scm_srfi1_alist_copy (SCM alist);
37SCM_SRFI1_API SCM scm_srfi1_append_reverse (SCM revhead, SCM tail);
38SCM_SRFI1_API SCM scm_srfi1_append_reverse_x (SCM revhead, SCM tail);
39SCM_SRFI1_API SCM scm_srfi1_break (SCM pred, SCM lst);
40SCM_SRFI1_API SCM scm_srfi1_break_x (SCM pred, SCM lst);
41SCM_SRFI1_API SCM scm_srfi1_car_plus_cdr (SCM pair);
42SCM_SRFI1_API SCM scm_srfi1_concatenate (SCM lstlst);
43SCM_SRFI1_API SCM scm_srfi1_concatenate_x (SCM lstlst);
44SCM_SRFI1_API SCM scm_srfi1_count (SCM pred, SCM list1, SCM rest);
45SCM_SRFI1_API SCM scm_srfi1_delete (SCM x, SCM lst, SCM pred);
46SCM_SRFI1_API SCM scm_srfi1_delete_x (SCM x, SCM lst, SCM pred);
47SCM_SRFI1_API SCM scm_srfi1_delete_duplicates (SCM lst, SCM pred);
48SCM_SRFI1_API SCM scm_srfi1_delete_duplicates_x (SCM lst, SCM pred);
49SCM_SRFI1_API SCM scm_srfi1_drop_right (SCM lst, SCM n);
50SCM_SRFI1_API SCM scm_srfi1_drop_right_x (SCM lst, SCM n);
51SCM_SRFI1_API SCM scm_srfi1_drop_while (SCM pred, SCM lst);
52SCM_SRFI1_API SCM scm_srfi1_eighth (SCM lst);
53SCM_SRFI1_API SCM scm_srfi1_fifth (SCM lst);
54SCM_SRFI1_API SCM scm_srfi1_filter_map (SCM proc, SCM list1, SCM rest);
55SCM_SRFI1_API SCM scm_srfi1_find (SCM pred, SCM lst);
56SCM_SRFI1_API SCM scm_srfi1_find_tail (SCM pred, SCM lst);
57SCM_SRFI1_API SCM scm_srfi1_fold (SCM proc, SCM init, SCM list1, SCM rest);
58SCM_SRFI1_API SCM scm_srfi1_last (SCM lst);
59SCM_SRFI1_API SCM scm_srfi1_length_plus (SCM lst);
60SCM_SRFI1_API SCM scm_srfi1_lset_adjoin (SCM equal, SCM lst, SCM rest);
61SCM_SRFI1_API SCM scm_srfi1_lset_difference_x (SCM equal, SCM lst, SCM rest);
62SCM_SRFI1_API SCM scm_srfi1_list_copy (SCM lst);
63SCM_SRFI1_API SCM scm_srfi1_list_index (SCM pred, SCM list1, SCM rest);
64SCM_SRFI1_API SCM scm_srfi1_list_tabulate (SCM n, SCM proc);
65SCM_SRFI1_API SCM scm_srfi1_map (SCM proc, SCM arg1, SCM args);
66SCM_SRFI1_API SCM scm_srfi1_for_each (SCM proc, SCM arg1, SCM args);
67SCM_SRFI1_API SCM scm_srfi1_member (SCM obj, SCM ls, SCM pred);
68SCM_SRFI1_API SCM scm_srfi1_ninth (SCM lst);
69SCM_SRFI1_API SCM scm_srfi1_assoc (SCM key, SCM alist, SCM pred);
70SCM_SRFI1_API SCM scm_srfi1_not_pair_p (SCM obj);
71SCM_SRFI1_API SCM scm_srfi1_partition (SCM pred, SCM list);
72SCM_SRFI1_API SCM scm_srfi1_partition_x (SCM pred, SCM list);
73SCM_SRFI1_API SCM scm_srfi1_reduce (SCM proc, SCM def, SCM lst);
74SCM_SRFI1_API SCM scm_srfi1_reduce_right (SCM proc, SCM def, SCM lst);
75SCM_SRFI1_API SCM scm_srfi1_remove (SCM pred, SCM list);
76SCM_SRFI1_API SCM scm_srfi1_remove_x (SCM pred, SCM list);
77SCM_SRFI1_API SCM scm_srfi1_seventh (SCM lst);
78SCM_SRFI1_API SCM scm_srfi1_sixth (SCM lst);
79SCM_SRFI1_API SCM scm_srfi1_span (SCM pred, SCM lst);
80SCM_SRFI1_API SCM scm_srfi1_span_x (SCM pred, SCM lst);
81SCM_SRFI1_API SCM scm_srfi1_split_at (SCM lst, SCM n);
82SCM_SRFI1_API SCM scm_srfi1_split_at_x (SCM lst, SCM n);
83SCM_SRFI1_API SCM scm_srfi1_take_x (SCM lst, SCM n);
84SCM_SRFI1_API SCM scm_srfi1_take_right (SCM lst, SCM n);
85SCM_SRFI1_API SCM scm_srfi1_take_while (SCM pred, SCM lst);
86SCM_SRFI1_API SCM scm_srfi1_take_while_x (SCM pred, SCM lst);
87SCM_SRFI1_API SCM scm_srfi1_tenth (SCM lst);
88SCM_SRFI1_API SCM scm_srfi1_xcons (SCM d, SCM a);
89
90SCM_SRFI1_API void scm_init_srfi_1 (void);
91
92#endif /* SCM_SRFI_1_H */