Skip to content

Instantly share code, notes, and snippets.

@jonathan
Created April 11, 2013 15:02
Show Gist options
  • Save jonathan/5364107 to your computer and use it in GitHub Desktop.
Save jonathan/5364107 to your computer and use it in GitHub Desktop.
the description of the "main()" function for scrabble
(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