Last active
August 21, 2016 14:43
-
-
Save j-po/ef893ef0a4457baea9c2518c29a1c869 to your computer and use it in GitHub Desktop.
Go `n` levels deep into the "Normal people scare me" shirt
This file contains hidden or 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 scary-people | |
"Go `n` levels deep into the \"Normal people scare me\" shirt" | |
[n] | |
(loop [n n | |
ret "Normal people scare me" | |
quotes (if (odd? n) \" \')] | |
(if (zero? n) | |
ret | |
(recur (dec n) | |
(str "Normal people wearing " quotes ret quotes " shirts scare me") | |
(case quotes | |
\" \' | |
\' \"))))) | |
(doseq [n (range 10)] | |
(println (scary-people n))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@GregorStocks, its before 8Am on a sunday. WHY