Re: another srfi-185 thinko
Per Bothner 10 Mar 2020 21:02 UTC
On 3/10/20 1:56 PM, John Cowan wrote:
> I don't think so, because string-append isn't allowed to mutate any of its arguments, whereas string-append-linear! is (the ! needs to be added here). I also need to rewrite the description of the string-replace! macro to match it. Copy and paste disease.
What is wrong with:
This macro sets place to the result of invoking (string-append place string ...).
That seems to be both descriptive and exact: You evaluate the string-append,
and then place is set to the result.
--
--Per Bothner
xxxxxx@bothner.com http://per.bothner.com/