Re: Why "recur"?

2010-01-19 Thread itsnotvalid
I kind of agree that loop acts as a point for recursion, however if the auo-TCO thing is possible, writing naturally recursing code would become possible. I think that recur could still exist independent like what other said. On Jan 18, 2:55 am, Richard Newman wrote: > > Other people prefer having

Why "recur"?

2010-01-17 Thread itsnotvalid
Just started learning Clojure a day ago with Stuart's book I found that Clojure doesn't do tail recursion optimization, not at least for the most simplest form. Instead the call must be made to recur instead of the function itself. However in the more-or-less-the-same-camp Scala does such optimiza