projects
/
reversi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r10866: Automated commit for Debian build of reversi upstream-version-1.0.14
[reversi.git]
/
utils.lisp
diff --git
a/utils.lisp
b/utils.lisp
index 29d9a42506ffdf50fa253e658b3ceb48332d40a0..1dfa25c23e0d9bf2f04e30accb16d635d50eae12 100644
(file)
--- a/
utils.lisp
+++ b/
utils.lisp
@@
-42,10
+42,10
@@
Like mapcon, but uses append instead of nconc."
(apply #'append (mapcar fn list)))
Like mapcon, but uses append instead of nconc."
(apply #'append (mapcar fn list)))
-(defun random-nth (
seq
)
- (declare (list
seq
))
- "Pick a random element out of a
sequence
."
- (nth (random (length
seq)) nth
))
+(defun random-nth (
list
)
+ (declare (list
list
))
+ "Pick a random element out of a
list
."
+ (nth (random (length
list)) list
))
(defun concat-symbol (&rest args)
"Concatenate symbols or strings to form an interned symbol"
(defun concat-symbol (&rest args)
"Concatenate symbols or strings to form an interned symbol"