[alexandria.git] updated branch master: 209c6e2 clarify SHUFFLE docstring

Nikodemus Siivola nsiivola at common-lisp.net
Fri Mar 30 15:06:28 UTC 2012


The branch master has been updated:
       via  209c6e29adf83292745092200279847daa99a18d (commit)
      from  4119ce8ae6baf661d426a09e44d07c262dc55b9a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 209c6e29adf83292745092200279847daa99a18d
Author: Nikodemus Siivola <nikodemus at random-state.net>
Date:   Fri Mar 30 18:05:35 2012 +0300

    clarify SHUFFLE docstring
    
      It's destructive.

-----------------------------------------------------------------------

Summary of changes:
 sequences.lisp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/sequences.lisp b/sequences.lisp
index e7f1925..9e4ff74 100644
--- a/sequences.lisp
+++ b/sequences.lisp
@@ -81,8 +81,9 @@ share structure with it."
 
 (defun shuffle (sequence &key (start 0) end)
   "Returns a random permutation of SEQUENCE bounded by START and END.
-Permuted sequence may share storage with the original one. Signals an
-error if SEQUENCE is not a proper sequence."
+Original sequece may be destructively modified, and share storage with
+the original one. Signals an error if SEQUENCE is not a proper
+sequence."
   (declare (type fixnum start)
            (type (or fixnum null) end))
   (etypecase sequence
-- 
Alexandria hooks/post-receive




More information about the alexandria-cvs mailing list