Created
December 17, 2012 07:34
-
-
Save frankyxhl/4316454 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(eval-when (:compile-toplevel :load-toplevel :execute) | |
(let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" | |
(user-homedir-pathname)))) | |
(when (probe-file quicklisp-init) | |
(load quicklisp-init)))) | |
(ql:quickload '(:split-sequence :alexandria)) | |
(use-package :alexandria) | |
;; Color Spade 黑桃 Heart 红心 Diamond 红钻 Club 黑莓 | |
(defvar color '(S H D C)) | |
(defvar order '(2 3 4 5 6 7 8 9 10 J Q K A)) | |
(print (map-product #'cons color order)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment