19 Mar 2012 13:37
#'shuffle docstring is misleading
Orivej Desh <orivej <at> gmx.fr>
2012-03-19 12:37:12 GMT
2012-03-19 12:37:12 GMT
#'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. _______________________________________________ alexandria-devel mailing list alexandria-devel <at> common-lisp.net http://lists.common-lisp.net/cgi-bin/mailman/listinfo/alexandria-devel
RSS Feed