1.3.0 permalink Arrow_down_16x16

resolve

clojure.core

  • (resolve sym)
  • (resolve env sym)
same as (ns-resolve *ns* symbol) or (ns-resolve *ns* &env symbol)

2 Examples top

  • user=> ((-> "first" symbol resolve) [1 2 3])
    1
  • ;; See also http://clojure.org/namespaces for information on namespaces in Clojure and how to inspect and manipulate them
Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/core.clj:3881 top

(defn resolve
  "same as (ns-resolve *ns* symbol) or (ns-resolve *ns* &env symbol)"
  {:added "1.0"
   :static true}
  ([sym] (ns-resolve *ns* sym))
  ([env sym] (ns-resolve *ns* env sym)))
Vars in clojure.core/resolve:
Used in 0 other vars

Comments top

No comments for resolve. Log in to add a comment.