MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vda9j/deleted_by_user/cer8h1l/?context=3
r/ProgrammerHumor • u/[deleted]
[deleted] — view deleted post
446 comments sorted by
View all comments
Show parent comment
1
Is this Clojure?
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.
2
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.
View all comments
Show parent comment
1
u/[deleted] Jan 16 '14
Is this Clojure?