On Wed, Nov 24, 2010 at 07:13:10PM +0100, Felix wrote: > > With cons cells you should be able to implement this efficiently enough. > > We don't have anything like string-pointers which can store arbitrary > > indices in a string AFAIK. That would be useful to have, I guess. > > How should that look? Would locatives be useful here?
I'm afraid this is just the "shared substring/blob" structure proposal in another guise. I don't know if locatives are useful; those can't really be kept around for a long time, can they? Cheers, Peter -- http://sjamaan.ath.cx -- "The process of preparing programs for a digital computer is especially attractive, not only because it can be economically and scientifically rewarding, but also because it can be an aesthetic experience much like composing poetry or music." -- Donald Knuth _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
