emacs-devel
[Top][All Lists]
Advanced

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

Re: master d62766305a: Add `take` and `ntake` (bug#56521)


From: Michael Heerdegen
Subject: Re: master d62766305a: Add `take` and `ntake` (bug#56521)
Date: Mon, 18 Jul 2022 18:34:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

> (info "(elisp) Sequence Functions") says:
>
>        All functions defined in this library are free of side-effects; i.e.,
>     they do not modify any sequence (list, vector, or string) that you pass
>     as an argument.
>
> It doesnʼt say anything about the result not sharing structure with
> the inputs.

The doc of `cl-subseq' which is (now) implemented based on `seq-subseq'
does, however (info "(cl) Sequence Functions"):

| [...] The return value is always a copy; it does not share structure
| with SEQUENCE.

Michael.




reply via email to

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