Liking cljdoc? Tell your friends :D

hive-emacs.repl.translate

Pure translation: a verb-and-backend request becomes an executable plan.

Nothing here performs an effect or names a transport. Every backend difference is read out of the profile, so a new backend needs no change in this namespace.

Pure translation: a verb-and-backend request becomes an executable plan.

Nothing here performs an effect or names a transport. Every backend
difference is read out of the profile, so a new backend needs no change in
this namespace.
raw docstring

cl-stringclj

(cl-string src)

SRC as a Common Lisp string literal: wrapped in double quotes, with backslashes and double quotes escaped.

SRC as a Common Lisp string literal: wrapped in double quotes, with
backslashes and double quotes escaped.
sourceraw docstring

lang-wrapperclj

(lang-wrapper prof lang verb)

The wrapper PROFILE declares for LANG, or nil. Only :eval is wrapped; every other verb takes its source uninterpreted.

The wrapper PROFILE declares for LANG, or nil. Only :eval is wrapped; every
other verb takes its source uninterpreted.
sourceraw docstring

planclj

(plan {:req/keys [verb backend params lang timeout-ms] :or {params {}}})

REQUEST translated against its backend's profile.

Returns a Result: ok wraps a schema/Plan, err carries a schema/Failure. The plan's :plan/prelude lists modules the boundary must ensure are loaded before the call is issued.

REQUEST translated against its backend's profile.

Returns a Result: ok wraps a schema/Plan, err carries a schema/Failure. The
plan's :plan/prelude lists modules the boundary must ensure are loaded
before the call is issued.
sourceraw docstring

resolve-argsclj

(resolve-args op params)

OP's positional arguments drawn from PARAMS, falling back to :op/defaults.

Returns [:ok args] or [:missing key]. A default of nil counts as supplied — presence is decided by contains?, so an op may legitimately default an argument to nil.

OP's positional arguments drawn from PARAMS, falling back to :op/defaults.

Returns [:ok args] or [:missing key]. A default of nil counts as supplied —
presence is decided by `contains?`, so an op may legitimately default an
argument to nil.
sourceraw docstring

timeout-forclj

(timeout-for prof op requested)

The timeout in force: the request's, else the op's, else the profile's.

The timeout in force: the request's, else the op's, else the profile's.
sourceraw docstring

wrap-sourceclj

(wrap-source wrapper src)

SRC rendered through WRAPPER's template, or SRC unchanged when WRAPPER is nil. The template receives SRC as a Common Lisp string literal.

SRC rendered through WRAPPER's template, or SRC unchanged when WRAPPER is
nil. The template receives SRC as a Common Lisp string literal.
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