local-bindings

swank.core

  • (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 swank/core.clj:63 top

  (defmacro local-bindings
    "Produces a map of the names of local bindings to their values."
    []
    (if-not (= &env :unavailable)
      (let [symbols (keys &env)]
        (zipmap (map (fn [sym] `(quote ~sym)) symbols) symbols))))
Vars in swank.core/local-bindings: = defmacro fn if-not let map zipmap concat list seq
Used in 0 other vars

Comments top

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