Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的profiles.clj 文件以:
{:dev {:env {:env-name
如何在 CURSIVE REPL 中加载它以便能够(:env-name env)在我的代码中使用?
(:env-name env)
的内容profiles.clj对您的 REPL 会话不可用。但是您可以自己阅读该文件:
profiles.clj
(ns mastering.stackoverflow (:require [clojure.tools.reader.edn :as edn])) (-> ".....path...../profiles.clj " (slurp) (edn/read-string) :dev :env)