Re: [Scheme-reports] fresh empty strings Alex Shinn 25 Jan 2012 02:34 UTC

On Wed, Jan 25, 2012 at 11:31 AM, John Cowan <cowan@mercury.ccil.org> 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.

--
Alex

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