emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 583cb26 2/3: Improve accuracy in string-replace description (


From: John Yates
Subject: Re: master 583cb26 2/3: Improve accuracy in string-replace description (bug#43598)
Date: Mon, 28 Sep 2020 12:36:58 -0400

Okay.  Then how about

Return a string equal to @var{instring} with every occurence of
@var{fromstring} replaced by @var{tostring}.

On Mon, Sep 28, 2020 at 9:50 AM Robert Pluim <rpluim@gmail.com> wrote:
>
> >>>>> On Mon, 28 Sep 2020 07:43:03 -0400, John Yates <john@yates-sheets.org> 
> >>>>> said:
>
>     John> Is there a role for the imperative mood?
>     John> Return @var{instring} after replacing every occurence of
>     John> @var{fromstring} with @var{tostring}.
>
>     John> I find it typically shorter and more contractual.
>
> I think that fails to pass Mattias' requirement of making it clear
> that the returned string is not a destructively modified 'instring'
>
> Robert
> --



-- 
John Yates
505 Tremont St, #803
Boston, MA 02116



reply via email to

[Prev in Thread] Current Thread [Next in Thread]