This comment isn't a reply specifically to the parent, but it applies to the thread.
Just my 2ยข: I'm pretty sure this has been said before, but I personally think the string API should be representation agnostic. The *character* API should be implementable as UCS-4. The string API should reflect the list/pair API, e.g. string-cons, string-car, string-cdr, string-append, etc. Additionally, "" should be analogous to (). This style of API is already extremely familiar to scheme users, is easy to implement in terms of both code-point vectors and UCS-4 vectors, and (as we all know) lends well to functional programming. The report, could still support string-set!, etc, but note that they are deprecated (like set-car! etc.), and may be O(N) operations. I think strings should be immutable, though. Pete <[EMAIL PROTECTED]>
_______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
