Created
April 11, 2013 15:02
-
-
Save jonathan/5364107 to your computer and use it in GitHub Desktop.
the description of the "main()" function for scrabble
This file contains 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
(defn -main [& args] | |
(if (empty? (rest args)) | |
((println "Usage: scrabble LETTERS") | |
(System/exit 1)) | |
((main (first (rest args))) | |
(System/exit 0)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment