local-bindings

clojure.contrib.base64

  • (local-bindings)
Produces a map of the names of local bindings to their values.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source clojure/contrib/debug.clj:13 top

(defmacro local-bindings
  "Produces a map of the names of local bindings to their values."
  []
  (let [symbols (map key @clojure.lang.Compiler/LOCAL_ENV)]
    (zipmap (map (fn [sym] `(quote ~sym)) symbols) symbols)))
Vars in clojure.contrib.base64/local-bindings: defmacro fn let map zipmap concat list seq
Used in 0 other vars

Comments top

No comments for local-bindings. Log in to add a comment.