Liking cljdoc? Tell your friends :D

toucan2.util


*debug*clj


dispatch-on-first-argclj

(dispatch-on-first-arg x & _)

Dispatch on the first argument using [[dispatch-value]], and ignore all other args.

Dispatch on the first argument using [[dispatch-value]], and ignore all other args.
raw docstring

dispatch-on-first-three-argsclj

(dispatch-on-first-three-args x y z & _)

Dispatch on the three arguments using [[protocols/dispatch-value]], and ignore all other args.

Dispatch on the three arguments using [[protocols/dispatch-value]], and ignore all other args.
raw docstring

dispatch-on-first-two-argsclj

(dispatch-on-first-two-args x y & _)

Dispatch on the two arguments using [[protocols/dispatch-value]], and ignore all other args.

Dispatch on the two arguments using [[protocols/dispatch-value]], and ignore all other args.
raw docstring

do-with-debug-resultclj

(do-with-debug-result message thunk)

format-doccljmacro

(format-doc format-string & args)

Convert format-string and args into something that can be pretty-printed by puget.

Convert `format-string` and `args` into something that can be pretty-printed by puget.
raw docstring

lower-case-enclj

(lower-case-en s)

Locale-agnostic version of [[clojure.string/lower-case]]. clojure.string/lower-case uses the default locale in conversions, turning ID into ıd, in the Turkish locale. This function always uses the Locale/US locale.

Locale-agnostic version of [[clojure.string/lower-case]]. `clojure.string/lower-case` uses the default locale in
conversions, turning `ID` into `ıd`, in the Turkish locale. This function always uses the `Locale/US` locale.
raw docstring

maybe-deriveclj

(maybe-derive child parent)

Derive child from parent only if child is not already a descendant of parent.

Derive `child` from `parent` only if `child` is not already a descendant of `parent`.
raw docstring

pprint-to-strclj

(pprint-to-str x)

println-debugcljmacro

(println-debug arg & more)

println-debug*clj

(println-debug* & args)

println-debug-linesclj

(println-debug-lines s)

safe-pr-strclj

(safe-pr-str x)

Like [[clojure.core/pr-str]], but does not evaluate reducibles or eductions, and handles [[pretty.core/PrettyPrintable]] things recursively.

Like [[clojure.core/pr-str]], but does not evaluate reducibles or eductions, and
handles [[pretty.core/PrettyPrintable]] things recursively.
raw docstring

SafePRStrcljprotocol


with-debug-resultcljmacro

(with-debug-result message & body)

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

× close