[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- To: kmp at MIT-AI, BUG-LISPM at MIT-AI
- From: Daniel L. Weinreb <dlw at MIT-AI>
- Date: Sat ,9 Jan 82 15:22:00 EDT
But if string-right-trim were defined to not necessarily copy, and you
used "copystring" to copy the result, then you would sometimes end up
copying the string twice, which is also undesirable. In general, the
string functions that return new strings and don't have something about
being destructive in their names are not destructive. I'd hate to make
the rule more complicated and start introducing bugs because people made
the natural assumption that string-right-trim always creates a new string.