On Fri, Oct 7, 2022 at 5:56 PM Wolfgang Corcoran-Mathe <[email protected]>
wrote:


> > It comes to the same thing, because any-ish procedures do not invoke the
> > predicate again after it returns true.  So "the last value returned by
> > pred" is not the result of pred on the last value, which I think is how
> you
> > are reading it; rather, it is exactly the same as "the first true value
> > returned by pred".
>
> I see what you mean, but I think this should be made clearer.
>

Fair enough.  So let's change "Applies pred element-wise to the elements of
the ranges and returns true if pred returns true on any application.
Specifically it returns the last value returned by pred." to "Invokes pred
element-wise to the elements of the ranges until one call returns a true
value, and then returns that value."

Reply via email to