[alexandria-devel] #'shuffle docstring is misleading

Orivej Desh orivej at gmx.fr
Mon Mar 19 12:37:12 UTC 2012


#'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.





More information about the alexandria-devel mailing list