srfi-1.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. #ifndef SCM_SRFI_1_H
  21. #define SCM_SRFI_1_H
  22. #include "libguile/__scm.h"
  23. SCM_INTERNAL SCM scm_srfi1_append_reverse (SCM revhead, SCM tail);
  24. SCM_INTERNAL SCM scm_srfi1_append_reverse_x (SCM revhead, SCM tail);
  25. SCM_INTERNAL SCM scm_srfi1_concatenate (SCM lstlst);
  26. SCM_INTERNAL SCM scm_srfi1_concatenate_x (SCM lstlst);
  27. SCM_INTERNAL SCM scm_srfi1_count (SCM pred, SCM list1, SCM rest);
  28. SCM_INTERNAL SCM scm_srfi1_delete (SCM x, SCM lst, SCM pred);
  29. SCM_INTERNAL SCM scm_srfi1_delete_x (SCM x, SCM lst, SCM pred);
  30. SCM_INTERNAL SCM scm_srfi1_delete_duplicates (SCM lst, SCM pred);
  31. SCM_INTERNAL SCM scm_srfi1_delete_duplicates_x (SCM lst, SCM pred);
  32. SCM_INTERNAL SCM scm_srfi1_find (SCM pred, SCM lst);
  33. SCM_INTERNAL SCM scm_srfi1_find_tail (SCM pred, SCM lst);
  34. SCM_INTERNAL SCM scm_srfi1_length_plus (SCM lst);
  35. SCM_INTERNAL SCM scm_srfi1_lset_difference_x (SCM equal, SCM lst, SCM rest);
  36. SCM_INTERNAL SCM scm_srfi1_list_copy (SCM lst);
  37. SCM_INTERNAL SCM scm_srfi1_assoc (SCM key, SCM alist, SCM pred);
  38. SCM_INTERNAL SCM scm_srfi1_partition (SCM pred, SCM list);
  39. SCM_INTERNAL SCM scm_srfi1_partition_x (SCM pred, SCM list);
  40. SCM_INTERNAL SCM scm_srfi1_remove (SCM pred, SCM list);
  41. SCM_INTERNAL SCM scm_srfi1_remove_x (SCM pred, SCM list);
  42. SCM_INTERNAL void scm_register_srfi_1 (void);
  43. SCM_INTERNAL void scm_init_srfi_1 (void);
  44. #endif /* SCM_SRFI_1_H */