Re: try-let

2014-12-19 Thread Simon Stender Boisen
Old thread, but still works great, thanks! Den onsdag den 28. april 2010 03.25.26 UTC+2 skrev ataggart: Inspired from an earlier discussion, I've written a macro that allows let-style binding values to be try'd, and still available to catch/ finally clauses. E.g.: (try-let [from (API

try-let

2010-04-27 Thread ataggart
Inspired from an earlier discussion, I've written a macro that allows let-style binding values to be try'd, and still available to catch/ finally clauses. E.g.: (try-let [from (API/open from-addr) to (API/open to-addr)] (do-stuff from to) (finally (if to (doto to .flush .close