bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Documentation error: srfi-13, string-tokenize


From: Mike Small
Subject: Documentation error: srfi-13, string-tokenize
Date: Wed, 11 Aug 2004 12:44:26 -0400
User-agent: Mutt/1.5.5.1+cvs20040105i

The description of string-tokenize in 1.6.4
(doc/ref/srfi-modules.texi) does not seem to be quite accurate.  The
part under the Scheme Procedure heading looks like it was fixed in
head in cvs, but the synopsis just under the miscellaneous heading
still implies that the token_char argument can be a single character
and that it matches the delimiters instead of the tokens themselves:

----------------------------------------------------------------------
Miscellaneous

   `string-replace' is for replacing a portion of a string with another
string and `string-tokenize' splits a string into a list of strings,
breaking it up at a specified character.
----------------------------------------------------------------------

Maybe this could be changed to something like the following:

----------------------------------------------------------------------
Miscellaneous

   `string-replace' is for replacing a portion of a string with another
string and `string-tokenize' splits a string into a list of strings,
breaking it up on characters not belonging to a specified character set.
----------------------------------------------------------------------


-- 
Mike Small
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]