Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Knut Olav Bøhmer
alexandria
Commits
209c6e29
Commit
209c6e29
authored
Mar 30, 2012
by
Nikodemus Siivola
Browse files
clarify SHUFFLE docstring
It's destructive.
parent
4119ce8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
sequences.lisp
View file @
209c6e29
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment