summaryrefslogtreecommitdiff
path: root/libguile/srfi-1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/srfi-1.c')
-rw-r--r--libguile/srfi-1.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libguile/srfi-1.c b/libguile/srfi-1.c
index 39291a439..1651bcd5b 100644
--- a/libguile/srfi-1.c
+++ b/libguile/srfi-1.c
@@ -575,24 +575,6 @@ SCM_DEFINE (scm_srfi1_delete_duplicates_x, "delete-duplicates!", 1, 1, 0,
}
#undef FUNC_NAME
-SCM_DEFINE (scm_srfi1_find_tail, "find-tail", 2, 0, 0,
- (SCM pred, SCM lst),
- "Return the first pair of @var{lst} whose @sc{car} satisfies the\n"
- "predicate @var{pred}, or return @code{#f} if no such element is\n"
- "found.")
-#define FUNC_NAME s_scm_srfi1_find_tail
-{
- SCM_VALIDATE_PROC (SCM_ARG1, pred);
-
- for ( ; scm_is_pair (lst); lst = SCM_CDR (lst))
- if (scm_is_true (scm_call_1 (pred, SCM_CAR (lst))))
- return lst;
- SCM_ASSERT_TYPE (SCM_NULL_OR_NIL_P (lst), lst, SCM_ARG2, FUNC_NAME, "list");
-
- return SCM_BOOL_F;
-}
-#undef FUNC_NAME
-
SCM_DEFINE (scm_srfi1_length_plus, "length+", 1, 0, 0,
(SCM lst),
"Return the length of @var{lst}, or @code{#f} if @var{lst} is\n"