AC
Size: a a a
AC
AC
Г
AC
AC
AC
(defonce request (go (let [response (<! (http/get "https://api.github.com/users" {:with-credentials? false}))]
(reset! users (:body response)))))
Г
Г
AC
Г
Г
AC
DF
AC
AC
KC
KC
(require '[clojure.java.io :as io])
(defn slurp [f & opts]
(let [f (io/as-file f)]
(when (.exists f)
(apply clojure.core/slurp f opts))))
(slurp "not-a-file.txt") ;; => nil
(slurp "deps.edn") ;; => "{...}"
ST
(try (slurp "name") (catch FileNotFound))
KC