On Sat, Dec 20, 2008 at 9:06 AM, Stuart Sierra <the.stuart.sie...@gmail.com> wrote: > Leaving that aside, I actually find loop/recur more intuitive than > Scheme-style "helper functions." It really gets down to the essence > of what a loop is.
loop/recur is almost exactly like Scheme's "named let" (basically loop/recur is a named let that is always named "recur", so it looks like the Clojure code with the keyword "loop" replaced by "let recur"), so if you find that style more intuitive than recursive helper functions, look up "named let" the next time you're working in Scheme. Scheme's style is slightly more flexible because you can pick a more meaningful name than recur if you like. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---