Liking cljdoc? Tell your friends :D

nightshell.redl


*locals*clj

source

*repl-continue*clj

source

*repl-depth*clj

source

*repl-input*clj

source

*repl-output*clj

source

break-with-window*clj

(break-with-window* locals)

Invoke this to drop into a new sub-repl, which can return into the parent repl at any time. Must supply locals, that will be in scope in the new subrepl.

Invoke this to drop into a new sub-repl, which
can return into the parent repl at any time. Must supply
locals, that will be in scope in the new subrepl.
sourceraw docstring

continue*clj

(continue* value)
source

dbgclj

(dbg & vals)
source

do-stacktraceclj

(do-stacktrace state thread out)
source

do-waitclj

(do-wait latest-state worker-out out)
source

eval-supervisorclj

(eval-supervisor ns)
(eval-supervisor state locals)

Creates an eval supervisor thread that will create and drive an eval-worker. If the worker becomes unresponsive, the supervisor allows meta-control of the worker (stop, threadump, wait).

Returns the supervisor id, which allows it to be controlled in the repl.

Creates an eval supervisor thread that will create and drive
an eval-worker. If the worker becomes unresponsive, the
supervisor allows meta-control of the worker (stop, threadump, wait).

Returns the supervisor id, which allows it to be controlled in
the repl.
sourceraw docstring

eval-with-localsclj

(eval-with-locals locals form)

Evals a form with given locals. The locals should be a map of symbols to values.

Evals a form with given locals. The locals should be a map of symbols to
values.
sourceraw docstring

eval-with-state-and-localsclj

(eval-with-state-and-locals form state locals)

Evaluates a form with a given state and local binding. The local binding is the return value of using the local-bindings macro at the place you wish to capture the locals. State is a map containing the repl state, which has the following keys: :*1, :*2, :*3, :*e, and :ns. It will return the updated state, along with the extra keys :out, :err, and :result, which will be bound to all the stdout and stderr of the evaluated form, and it's value. The value will also be included pprinted in stdout for display convenience.

Evaluates a form with a given state and local binding. The local binding
is the return value of using the `local-bindings` macro at the place
you wish to capture the locals. State is a map containing the
repl state, which has the following keys: `:*1`, `:*2`, `:*3`, `:*e`,
and `:ns`. It will return the updated state, along with the extra keys
`:out`, `:err`, and `:result`, which will be bound to all the stdout and
stderr of the evaluated form, and it's value. The value will also be
included `pprint`ed in stdout for display convenience.
sourceraw docstring

eval-workerclj

(eval-worker ns)
(eval-worker state locals)

Creates an eval worker thread that can transfer its IO control down the stack. Returns [in out thread], where in and out are the channels to send and recieve messages, and thread is a promise containing the actual worked Thread, for debugging.

Creates an eval worker thread that can transfer its IO control
down the stack. Returns `[in out thread]`, where `in` and `out`
are the channels to send and recieve messages, and `thread` is
a promise containing the actual worked Thread, for debugging.
sourceraw docstring

late-bound-repl-loopclj

(late-bound-repl-loop state locals)

This creates a repl loop with the given initial state and, optionally, locals. This is late-bound because it uses repl-input and repl-output, call deref such that it is possible for an evaluated form to recursively create another late-bound-repl-loop.

This creates a repl loop with the given initial state and, optionally,
locals. This is late-bound because it uses repl-input and repl-output,
call `deref` such that it is possible for an evaluated form to recursively
create another late-bound-repl-loop.
sourceraw docstring

make-replclj

(make-repl ns)
source

no-argclj

source

pretty-printclj

DEPRPECATED; set print-fn directly. This var determines whether repl results are printlned or pprinted.

DEPRPECATED; set `print-fn` directly.
This var determines whether repl results are `println`ed or `pprint`ed.
sourceraw docstring

Allows you to configure what function is used to print the result of computations. This function should take one argument, the expression's value.

Allows you to configure what function is used to print the result of computations.
This function should take one argument, the expression's value.
sourceraw docstring

(print-help state out)
source

repl-evalclj

(repl-eval repl form-str)
source

repl-eval-formclj

(repl-eval-form repl form)

Takes a repl id and a form, and evaluates that form on the given repl.

Takes a repl id and a form, and evaluates that form on the given repl.
sourceraw docstring

spawn-repl-windowclj

source

supervisor-idsclj

source

supervisorsclj

source

view-localsclj

(view-locals)
source

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

× close