On Wed, Jan 25, 2012 at 11:31 AM, John Cowan <[email protected]> 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
[email protected]
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to