Created
February 22, 2019 08:15
-
-
Save eprislac/2a619ca26a8d5f1667a9157c5b3b54e4 to your computer and use it in GitHub Desktop.
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
(defn fizzbuzziness [num] | |
(def tbl {"Fizz" (mod num 3),"Buzz" (mod num 5)}) | |
(clojure.string/join "" (filter (comp #{0} tbl) (keys tbl)))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment