Commit 0360e12b authored by Nikodemus Siivola's avatar Nikodemus Siivola
Browse files

Patch by Tayssin John Gabbour, fixing two typos.

parent 46f82512
......@@ -67,7 +67,7 @@
#:random-elt
#:rotate
#:sequence-of-length-p
#:suffle
#:shuffle
;; Macros
#:with-unique-names
#:with-gensyms
......
......@@ -49,8 +49,8 @@ result sequence may share structure with it."
(rotate-head-to-tail sequence (- n))
sequence)))
(defun suffle (sequence &key (start 0) end)
"Returns a radom permutation of SEQUENCE bounded by START and END.
(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."
(declare (fixnum start) ((or fixnum null) end))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment