This namespace consists of implementation details for the main API
This namespace consists of implementation details for the main API
(?>> do-it? & args)
Conditional double-arrow operation (->> nums (?>> inc-all? (map inc)))
Conditional double-arrow operation (->> nums (?>> inc-all? (map inc)))
(apply-kwargs f & args)
Utility that takes a function f, any number of regular args, and a final kw-args argument which will be splatted in as a final argument
Utility that takes a function f, any number of regular args, and a final kw-args argument which will be splatted in as a final argument
(cast-row cast-fns row & {:keys [only exception-handler]})
Format the values of row with the given function. This gives us some flexbility with respect to formatting both vectors and maps in similar fashion.
Format the values of row with the given function. This gives us some flexbility with respect to formatting both vectors and maps in similar fashion.
(clone-var fsym)
Clone the var pointed to by fsym into current ns such that arglists, name and doc metadata are preserned.
Clone the var pointed to by fsym into current ns such that arglists, name and doc metadata are preserned.
(mappify-row header row)
Translates a single row of values into a map of colname -> val
, given colnames in header
.
Translates a single row of values into a map of `colname -> val`, given colnames in `header`.
Check if value is a non-blank string.
Check if value is a non-blank string.
(row-val-caster cast-fns exception-handler)
Returns a function that casts casts a single row value based on specified casting function and optionally excpetion handler
Returns a function that casts casts a single row value based on specified casting function and optionally excpetion handler
(stringify-keyword x)
Leaves strings alone. Turns keywords into the stringified version of the keyword, sans the initial :
character. On anything else, calls str.
Leaves strings alone. Turns keywords into the stringified version of the keyword, sans the initial `:` character. On anything else, calls str.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close