ryoakg
5/19/2016 - 3:01 AM

ignore-exceptions.clj

(defmacro ^:private ignore-exceptions [& body]
  `(try ~@body (catch Exception e#)))
;;; or
(defmacro ^:private ignex [& body]
  `(try ~@body (catch Exception e#)))

;;; usage
#_(->> xs
     (keep #(ignex (-> % f g))))