[r6rs-discuss] [ANN] scheme-reports.org
Brian Mastenbrook
brian at mastenbrook.net
Tue Aug 25 16:27:36 EDT 2009
On Aug 25, 2009, at 2:49 PM, Thomas Lord wrote:
> I think that is not *quite* true as stated but it
> clearly points to a truth.
>
> A mutable character sequence that supports insert and
> delete is certainly useful in more situations than
> a mutable character sequence that supports only
> replacement.
>
> If you wanted to tell me that small Scheme should
> support insert/delete on strings I don't, off the top
> of my head, have any objections. On the other hand,
> I don't feel like making that argument myself because
> of vague concern for the implied burden on implementations.
Supporting insert and delete is a job for a higher level data
structure such as a gap buffer. I wouldn't have any objections to a
standard interface to this as a library. The Flexichain API would be a
good place to start looking for inspiration on this subject:
http://common-lisp.net/project/flexichain/
--
Brian Mastenbrook
brian at mastenbrook.net
http://brian.mastenbrook.net/
More information about the r6rs-discuss
mailing list