Liking cljdoc? Tell your friends :D

co.multiply.scoped.impl


carrierclj

The carrier holding the current scope map.

The carrier holding the current scope map.
sourceraw docstring

create-carriercljmacro

(create-carrier)

Instantiates a new carrier object.

On JDK 25+, this is a ScopedValue instance. On older JDKs, this is a ThreadLocal.

Instantiates a new carrier object.

On JDK 25+, this is a ScopedValue instance. On older JDKs, this is a ThreadLocal.
sourceraw docstring

current-scopecljmacro

(current-scope)

Returns the current scope map, or an empty map if no scope is active.

Returns the current scope map, or an empty map if no scope is active.
sourceraw docstring

extend-scopecljmacro

(extend-scope scope bindings)
source

get-scoped-varclj

(get-scoped-var v)

Retrieve a scoped value, falling back to the var's root binding.

If the var is in the current scope, returns the scoped value. If not in scope, returns the var's current value. If the var is unbound and not in scope, throws IllegalStateException.

This is the runtime implementation for the ask macro.

Retrieve a scoped value, falling back to the var's root binding.

If the var is in the current scope, returns the scoped value.
If not in scope, returns the var's current value.
If the var is unbound and not in scope, throws IllegalStateException.

This is the runtime implementation for the `ask` macro.
sourceraw docstring

with-scopecljmacro

(with-scope scope & body)

Execute body with a pre-built scope map. Returns the value of body.

Execute body with a pre-built scope map. Returns the value of body.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close