(binding bindings & body)See clojure.core/binding.
See clojure.core/binding.
(bound-fn args & body)See clojure.core/bound-fn.
See clojure.core/bound-fn.
(bound-fn* f)Given a function f, returns a new function capturing the current bindings in its closure. When the returned function is invoked the saved bindings are pushed and set, f is applied to the arguments, and bindings are restored to their previous, saved values.
Given a function f, returns a new function capturing the current bindings in its closure. When the returned function is invoked the saved bindings are pushed and set, f is applied to the arguments, and bindings are restored to their previous, saved values.
(pop-thread-bindings)Pops the topmost binding map from thread-bindings stack and restores the associated bindings to their previous, saved values.
Pops the topmost binding map from thread-bindings stack and restores the associated bindings to their previous, saved values.
(push-thread-bindings binding-map)Pushes binding-map onto the thread-bindings stack and establishes the associated bindings.
Pushes binding-map onto the thread-bindings stack and establishes the associated bindings.
Stack of binding maps like this:
{
my.namespace.core {:push! (fn [] ...) :pop! (fn [] ...)}
other.namespace.foo {:push! (fn [] ...) :pop! (fn [] ...)}
...
where the keys of the map are the Javascript variables (as symbols) and the values are maps with :push! and :pop! keys, each associated with a zero arity procedure that pushes or pops the thread binding for that var.
Stack of binding maps like this:
{
my.namespace.core {:push! (fn [] ...) :pop! (fn [] ...)}
other.namespace.foo {:push! (fn [] ...) :pop! (fn [] ...)}
...
where the keys of the map are the Javascript variables (as symbols) and
the values are maps with :push! and :pop! keys, each associated with a
zero arity procedure that pushes or pops the thread binding for that var.cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |