Anonymous user
Talk:Best shuffle: Difference between revisions
→Common Lisp: almost there
m (→Common Lisp: typo) |
(→Common Lisp: almost there) |
||
Line 174:
(coerce (mapcar 'cdr (sort tagged #'> :key 'car)) 'string)))
(defun compare-
(defun format-compare-shuffle (seq sqe)
(format t "~S ~S (~S)~%" seq sqe (compare-shuffle seq sqe)))
(let ((input '("abracadabra" "seesaw" "elk" "grrrrrr" "up" "a")))
(map 'nil 'format-compare-
"abracadabra" "rabrbadcaaa" (3)
"seesaw" "aeswse" (1)
|