Liking cljdoc? Tell your friends :D

hoplon.binding


bindingclj/smacro

(binding bindings & body)

See clojure.core/binding.

See clojure.core/binding.
sourceraw docstring

bound-fnclj/smacro

(bound-fn args & body)

See clojure.core/bound-fn.

See clojure.core/bound-fn.
sourceraw docstring

bound-fn*cljs

(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.
sourceraw docstring

pop-thread-bindingscljs

(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.
sourceraw docstring

push-thread-bindingscljs

(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.
sourceraw docstring

thread-bindingscljs

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.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close