Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defmacro safe [& arg-list] `(if (< (count ~arg-list) 2)
- (try ~@arg-list (catch Exception e# e#))
- (do ~arg-list (try (rest ~arg-list) (catch Exception e# e#)))))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement