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 [email protected] http://brian.mastenbrook.net/ _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
