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

Re: [Scheme-reports] Requesting early review of a character sequence library



On Fri, Dec 19, 2014 at 10:13 AM, Per Bothner <per@x> wrote:

Is this proposed as part of a future Scheme specification? I really hope not.
I find the duplicate set of procedures a very ugly API, and would be strongly against
any language standard that has (for example) both string-any and span-any [...]

+1

From the discussions I had seen I thought the general direction
for a new string API would be based on string-cursors, which have
been implemented and used for some time in multiple Schemes.
String cursors have the advantage that they are a different way to
access the same underlying datatype, so you don't need to
duplicate every API that works with textual data.

For special optimization cases something like this library may be
useful, but I'd like to see it implemented and used for a while before
we decide whether it's good for general purpose code, and further
whether to standardize it.

-- 
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@x
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports