On Sep 13, 11:18 pm, Richard Newman <holyg...@gmail.com> wrote: > I think the OP's issue was that he has a sequence of things to close, > determined at runtime. with-open itself is no use there, because the > things to close must be known at compile-time.
Exactly. > He is correct that finally and catch do not permit iteration. They do > permit function calls, hence my workaround. Thank you, Richard. Your suggestion works. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---