On 09/19/2009 07:32 PM, Shiro Kawai wrote:
> I think nobody opposes generally mutable "string-like" data
> structure, which allows length-changing mutation as well.
> Immutable-string camp just thinks such data structure can be
> built on top of immutable primitive strings.
You could do that, but better would be to use a mutable
char vector or a bytebuffer as a gap-buffer.
I.e. you build such structure on top of a *mutable*
primitive (i.e. implementation-specific) buffer.
--
--Per Bothner
[email protected] http://per.bothner.com/
_______________________________________________
r6rs-discuss mailing list
[email protected]
http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss