On Sep 15, 6:54 pm, Gorsal <s...@tewebs.com> wrote: > I was just wondering about the unwind-protect form, I've heard that it > doesn't protect against certain types of exits, but what exactly are > these exits? I've heard return, break, and continue statements said > but i can't seem to find these statements in clojure. Any examples?
Unwind-protect? Isn't that a Common Lisp thing? Sounds like you got the wrong mailing list :) It's true though that Clojure has no return, break or continue... They are imperative constructs, and Clojure is mostly functional. As far as I know, the closest thing to unwind-protect is probably the finally clause of a try-catch-finally form, but I don't think there's any way to break out from inside a try block without executing the finally code. --~--~---------~--~----~------------~-------~--~----~ 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 Note that posts from new members are moderated - please be patient with your first post. 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 -~----------~----~----~----~------~----~------~--~---