Skip to content

Instantly share code, notes, and snippets.

View wonja's full-sized avatar
🌴
On vacation

Wonja F. wonja

🌴
On vacation
View GitHub Profile
;; inspiration: http://mike.place/2016/extranapkins/
;; number conversion code taken from http://codewars.com/kumite/53e6a24ec4d201e407000473?sel=53ee1b32f611ce423b000cf6
;; implementation below
(declare convert)
(defn iter [num]
(reduce #(format %2 (convert (count (clojure.string/split %1 #"\s"))) %1) "Fuck off" (repeat num "I've got %s words for you: %s")))
(iter 100)