Skip to content

Instantly share code, notes, and snippets.

@benatkin
Created May 5, 2009 08:46
Show Gist options
  • Save benatkin/106901 to your computer and use it in GitHub Desktop.
Save benatkin/106901 to your computer and use it in GitHub Desktop.
(dorun (apply map
(concat [(fn [n & fizzbuzz] (prn n (apply str fizzbuzz))) (range 1 101)]
(map #(replace {true %2 false nil} (map zero? (take 100 (next (cycle (range %)))))) [3 5] '[Fizz Buzz]))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment