3 ms·
It's pretty much the same as this: (loop [n 0] (if (= n 10) n ; true case: return n (recur (inc n)))) ; false case: l
by danneu 13y ago
It's pretty much the same as this:
(loop [n 0]
(if (= n 10)
n ; true case: return n
(recur (inc n)))) ; false case: loop with n++
;=> 10