Hi Sascha,

On Tue, Dec 30, 2014 at 5:02 AM, Sascha Ziemann <[email protected]> wrote:

> Today I was searching for a split-string in R7RS and it seems to me
> that it is not there.
>
> Everybody else seems to have it:
>
> https://docs.python.org/2/library/stdtypes.html#str.split
>
> http://docs.oracle.com/javase/8/docs/api/java/lang/String.html#split-java.lang.String-
> http://golang.org/pkg/strings/#Split
> http://www.ruby-doc.org/core-2.2.0/String.html#method-i-split
> http://msdn.microsoft.com/en-us/library/tabh47cf.aspx
> http://php.net/manual/en/function.explode.php
>
> I am wondering if it is wise to specify a language without such a
> basic function.
>

The Scheme standards have always been extremely minimal,
providing you the tools to write any function you may need but
not trying to provide a full standard library.

The SRFI process provides many more libraries, notably SRFI-13
for strings, though string-split was discussed and eventually left
out.  More string libraries are planned as part of R7RS large, and
SRFI-115 has regexp-split which is a superset of what you want.

-- 
Alex
_______________________________________________
Scheme-reports mailing list
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to