(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.
(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.
(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.
(do-with-debug-result message thunk)(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.
(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.
(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`.
(pprint-to-str x)(println-debug arg & more)(println-debug* & args)(println-debug-lines s)(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.
(with-debug-result message & body)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |