Re: [scheme-reports-wg2] Re: R7RS-large discussion: Basic Types and Sorting taylanbayirli@xxxxxx (07 Jun 2016 19:46 UTC)

Re: [scheme-reports-wg2] Re: R7RS-large discussion: Basic Types and Sorting taylanbayirli@xxxxxx 07 Jun 2016 19:46 UTC

Per Bothner <xxxxxx@bothner.com> writes:

> On 06/07/2016 08:47 AM, Per Bothner wrote:
>> In other words: Why can't we unify the concepts SRFI7 "immutable string"
>> and SRFI-135 "text"?
>
> That should have been: Why can't we unify the concepts R7RS "immutable string"
> and SRFI-135 "text"?

I would say the main problem is that so long as various standard
operations are guaranteed to return mutable strings in R7RS, we need a
different type with corresponding operations.

It might not be a problem if R7RS-large enforced O(1) string-ref though.

Taylan