Aha, right.  I checked srfi-152 for these procedures and didn't find it mentioned neither, but now I see there's a general
statement in srfi-152 mandating returned string(s) must be freshly allocated except noted otherwise.   Thanks.

On Tue, Jul 23, 2019 at 3:07 PM John Cowan <xxxxxx@ccil.org> wrote:


On Tue, Jul 23, 2019 at 7:58 AM Shiro Kawai <xxxxxx@gmail.com> wrote:
If all the elements in the source vector satisfies the predicate,
can @vector-take-while return the source vector itself, or should it
make a fresh copy anyway?   it's not clear from the srfi text.

SRFI 160 defers to 152 and 133 for detailed semantics, but I'll add a general statement that all procedures that return @vectors will return newly allocated ones.


John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
In politics, obedience and support are the same thing.  --Hannah Arendt