Created
January 3, 2014 11:52
-
-
Save jmaicher/8236727 to your computer and use it in GitHub Desktop.
Produce the number 2014 without any numbers in your source code. Not very short, but whatever :-)
http://codegolf.stackexchange.com/questions/17005/produce-the-number-2014-without-any-numbers-in-your-source-code
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
(let [ I-WISH (fn [x] (* x (mod (int \#) (int \!)))) | |
YOU-A (fn [x] (reduce + (map int x)))] | |
(I-WISH (YOU-A [\H \A \P \P \Y \N \E \W \Y \E \A \R \) \)]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment