Skip to content

Instantly share code, notes, and snippets.

@halgari
Created Oct 12, 2012
Embed
What would you like to do?
Rube Goldberg Dates
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