r/ProgrammerHumor • • Jan 16 '14

[deleted by user]

[removed]

1.3k Upvotes

446 comments sorted by

View all comments

Show parent comment

2

u/mcvoid1 Jan 16 '14

Yep. The ->> macro basically makes it the same as saying

(map println (map  (fn [x]
   (cond (zero? (mod x 15)) "FizzBuzz"
         (zero? (mod x 3)) "Fizz"
         (zero? (mod x 5)) "Buzz"
         :else x)))
   (range 1 101)))

Which is very similar to other types of lisp.