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

Re: [Scheme-reports] fresh empty strings

On Wed, Jan 25, 2012 at 11:31 AM, John Cowan <cowan@x> wrote:
> Alex Shinn scripsit:
>> A good start can be found at:
>> http://mumble.net/~campbell/proposals/new-text.txt
> That is a fine API, but it is an *immutable* text API.

It has insertion, replacement and deletion operations.
These return new objects, but that doesn't have to be
any less efficient than an explicitly mutable API.

If it bothers you, though, you can always add
text-insert!, text-delete! and text-replace! to the API.


Scheme-reports mailing list