I quite like Andrew's bit shift array example. Only think that its better to have a nil zeroth value so you get circuit breaking for free.
;; Array for grabbing appropriate string, if exists(deffizzes[nil"Fizz""Buzz""FizzBuzz"]);; boolean to integer conversion(defnb-to-i[b](bit-and1(bit-shift-right(Boolean/hashCodeb)1)))(defnfizzit[n](let[fizzed(b-to-i(=0(modn3)));1 if truebuzzed(bit-shift-left(b-to-i(=0(modn5)))1);2 if trueboth(+fizzedbuzzed)];3 if both are true(or(getfizzesboth)(strn))))(defnfizzbuzz[n](mapfizzit(range1(incn))))
Clojure example.
I quite like Andrew's bit shift array example. Only think that its better to have a
nil
zeroth value so you get circuit breaking for free.repl.it link