Gets the value in the var object
user=> map #<core$map clojure.core$map@cce27f> user=> #'map ;; The reader macro #'x expands to (var x). #'clojure.core/map user=> (var-get #'map) #<core$map clojure.core$map@cce27f>
user=> ((var-get (var inc)) 1) 2
;; var-get is the same as @ user> (def a-var 1) #'user/a-var user> (var-get #'a-var) 1 user> @#'a-var 1 user> (var-get (resolve 'a-var)) 1 user> @(resolve 'a-var) 1
varbinding=> symbol init-expr Executes the exprs in a context in which the symbols are bound to ...
Sets the value in the var object to val. The var must be thread-locally bound.
The symbol must resolve to a var, and the Var object itself (not its value) is returned. The reader ...
var-get