(->range {:keys [name-row name-end-row name-col name-end-col row end-row col
end-col]
:as element})
(->scope-range {:keys [name-row name-end-row name-col name-end-col row end-row
col end-col]
:as element})
(assoc-some m k v)
(assoc-some m k v & kvs)
Assoc[iate] if the value is not nil.
Assoc[iate] if the value is not nil.
(debounce-by in ms by-fn)
Debounce in channel with ms miliseconds distincting by by-fn.
Debounce in channel with ms miliseconds distincting by by-fn.
(deep-merge)
(deep-merge a)
(deep-merge a b)
(deep-merge a b & more)
Recursively merges maps together. Improved version of medley deep-merge concating colls instead of overwriting.
Recursively merges maps together. Improved version of medley deep-merge concating colls instead of overwriting.
(filename->uri filename db)
Converts an absolute file path into a file URI string.
Jar files are given the jar:file
or zipfile
scheme depending on the
:dependency-scheme
setting.
Converts an absolute file path into a file URI string. Jar files are given the `jar:file` or `zipfile` scheme depending on the `:dependency-scheme` setting.
(inside? a b)
Checks if element a
is inside element b
scope.
Checks if element `a` is inside element `b` scope.
(logging-time message & body)
Executes body
logging message
formatted with the time spent
from body.
Executes `body` logging `message` formatted with the time spent from body.
(namespace+source-path->filename namespace source-path file-type)
(relativize-filepath path root)
Returns absolute path
(string) as relative file path starting at root
(string)
The output representation path matches that of the operating system.
Returns absolute `path` (string) as relative file path starting at `root` (string) The output representation path matches that of the operating system.
(slurp-filename f)
Slurp filename f. Used for be able to with-refefs this function.
Slurp filename f. Used for be able to with-refefs this function.
(uri->filename uri)
Converts a URI string into an absolute file path.
The output path representation matches that of the operating system.
Converts a URI string into an absolute file path. The output path representation matches that of the operating system.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close