[alexandria-devel] #'shuffle docstring is misleading
Nikodemus Siivola
nikodemus at random-state.net
Fri Mar 30 15:06:42 UTC 2012
On 19 March 2012 14:37, Orivej Desh <orivej at gmx.fr> wrote:
> #'shuffle docstring states that “Permuted sequence may share storage
> with the original one.” Actually it destructively modifies the
> sequence. In the case of vectors the two might be the same, but in the
> case of lists I would say that something like (sort (copy-list l) …)
> shares storage with the original list but (sort l …) does more than
> that.
Fixed, thanks for the heads-up.
Cheers,
-- nikodemus
More information about the alexandria-devel
mailing list