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.
是否有任何 Clojure 内置函数只返回传递给它的值?相当于
(defn just-val [x] x)
?
是的,有身份功能: http ://clojuredocs.org/clojure_core/clojure.core/identity
user=> (identity 4) 4