Closed fasterthanlime closed 9 years ago
Since #26 has to be fixed, the only way to write a recursive function is to name it:
(let [inner (fn rec [x]) (if (< x 10) (rec (inc x)) x)] (print (inner 0)))
And that code is correct.
Since #26 has to be fixed, the only way to write a recursive function is to name it:
And that code is correct.