Skip to content

Instantly share code, notes, and snippets.

@frankyxhl
Created December 17, 2012 07:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frankyxhl/4316454 to your computer and use it in GitHub Desktop.
Save frankyxhl/4316454 to your computer and use it in GitHub Desktop.
(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