On Fri, Oct 7, 2022 at 1:29 PM Wolfgang Corcoran-Mathe <[email protected]> wrote:
> As specified, range-any “returns the last [true] value returned by > 'pred'”. This is different SRFI 1 'any' and similar forms, which > return the *first* truthy value. I'm not sure if this was an > oversight or intentional. As far as I can tell, there was no > discussion of the difference. > 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".
