summaryrefslogtreecommitdiff
path: root/libguile/srfi-13.h
diff options
context:
space:
mode:
authorDaniel Hartwig <mandyke@gmail.com>2012-10-08 18:35:00 +0800
committerMark H Weaver <mhw@netris.org>2012-10-12 08:15:08 -0400
commit5f085775aba737c6e829b3e06abb66a64c83b057 (patch)
treebe5b9ffd86dfeba68371e37133a9061ad9ff8340 /libguile/srfi-13.h
parent8b22ced1c9dee2743eedb5658172e931a42e8453 (diff)
downloadguile-5f085775aba737c6e829b3e06abb66a64c83b057.tar.gz
In string-split, add support for character sets and predicates.
* libguile/srfi-13.c (string-split): Add support for splitting on character sets and predicates, like string-index and others. * test-suite/tests/strings.test (string-split): Add tests covering the new argument types. * doc/ref/api-data.texi (string-split): Update. Signed-off-by: Mark H Weaver <mhw@netris.org>
Diffstat (limited to 'libguile/srfi-13.h')
-rw-r--r--libguile/srfi-13.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/srfi-13.h b/libguile/srfi-13.h
index f63239a25..325e22272 100644
--- a/libguile/srfi-13.h
+++ b/libguile/srfi-13.h
@@ -110,7 +110,7 @@ SCM_API SCM scm_xsubstring (SCM s, SCM from, SCM to, SCM start, SCM end);
SCM_API SCM scm_string_xcopy_x (SCM target, SCM tstart, SCM s, SCM sfrom, SCM sto, SCM start, SCM end);
SCM_API SCM scm_string_replace (SCM s1, SCM s2, SCM start1, SCM end1, SCM start2, SCM end2);
SCM_API SCM scm_string_tokenize (SCM s, SCM token_char, SCM start, SCM end);
-SCM_API SCM scm_string_split (SCM s, SCM chr);
+SCM_API SCM scm_string_split (SCM s, SCM char_pred);
SCM_API SCM scm_string_filter (SCM char_pred, SCM s, SCM start, SCM end);
SCM_API SCM scm_string_delete (SCM char_pred, SCM s, SCM start, SCM end);