Created
October 12, 2012 13:50
-
-
Save halgari/3879284 to your computer and use it in GitHub Desktop.
Rube Goldberg Dates
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
user=> (let [r (range 10 13 2)] | |
(apply str (interpose "/" | |
(take 3 (concat r (reverse r)))))) | |
"10/12/12" | |
user=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment