Private implementation details.
(search-resids dict locale-splits ?scope resids)loc1 res1 var1 var2 ... base
res2 var1 var2 ... base
...
loc2 res1 var1 var2 ... base
res2 var1 var2 ... base
...(str->split-args s)Checks string for simple Clojure-style (%d) args and returns a vector of string parts and int arg indexes for later joining.
(str->vargs-fn s)(str->vargs-fn s argval-fn)Returns a (fn [args-vector]) which replaces simple Clojure-style (%n) args in string with `(str (?argval-fn <corresponding-vector-arg>))`. Optimized for fn runtime, not fn creation.
(vec->vargs-fn v)(vec->vargs-fn v argval-fn)Returns a (fn [args-vector]) which replaces simple Clojure-style (%n) arg elements with `(?argval-fn <corresponding-vector-arg>)`. Optimized for fn runtime, not fn creation.
(vec->vtag v)(vec->vtag v default-tag)["foo"] -> [:span "foo"] as a convenience.
(vec-explode-styles-in-strs v)(vec-explode-styles-in-strs v str-splitter)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 |