(colored-string s c)
(colored-string _ _)
(contains-only? m ks)
(deftype+ name fields & body)
Same as deftype, but: read mutable fields through ILookup: (:field instance)
Same as deftype, but: read mutable fields through ILookup: (:field instance)
(derefable? x)
(disable-from-profile profile)
(elide-string s max-len)
(format & args)
(get-current-thread-id)
(get-monotonic-timestamp)
(get-timestamp)
(hash-map? x)
(lazy-binding bindings & body)
Like clojure.core/binding but instead of a vec of vars it accepts a vec of symbols, and will resolve the vars with requiring-resolve
Like clojure.core/binding but instead of a vec of vars it accepts a vec of symbols, and will resolve the vars with requiring-resolve
(log & msgs)
(log-error msg)
(log-error msg e)
(map-like? x)
(merge-meta obj & metamaps)
Non-throwing version of (vary-meta obj merge metamap-1 metamap-2 ...).
Like vary-meta
, this only applies to immutable objects. For
instance, this function does nothing on atoms, because the metadata
of an atom
is part of the atom itself and can only be changed
destructively.
Non-throwing version of (vary-meta obj merge metamap-1 metamap-2 ...). Like `vary-meta`, this only applies to immutable objects. For instance, this function does nothing on atoms, because the metadata of an `atom` is part of the atom itself and can only be changed destructively.
(mk-tmp-dir!)
Creates a unique temporary directory on the filesystem. Typically in /tmp on *NIX systems. Returns a File object pointing to the new directory. Raises an exception if the directory couldn't be created after 10000 tries.
Creates a unique temporary directory on the filesystem. Typically in /tmp on *NIX systems. Returns a File object pointing to the new directory. Raises an exception if the directory couldn't be created after 10000 tries.
(object-id o)
(unwrap _)
(rnd-uuid)
(seq-like? x)
(seq-like? _)
(source-fn x)
(tag-form-recursively form key)
Recursively add coordinates to all forms
Recursively add coordinates to all forms
(update-values m f)
m f => {k (f v) ...}
Given a map m and a function f of 1-argument, returns a new map where the keys of m are mapped to result of applying f to the corresponding values of m.
m f => {k (f v) ...} Given a map m and a function f of 1-argument, returns a new map where the keys of m are mapped to result of applying f to the corresponding values of m.
(walk-indexed f form)
(walk-indexed coor f form)
Walk through form calling (f coor element).
The value of coor is a vector of indices representing element's
address in the form. Unlike clojure.walk/walk
, all metadata of
objects in the form is preserved.
Walk through form calling (f coor element). The value of coor is a vector of indices representing element's address in the form. Unlike `clojure.walk/walk`, all metadata of objects in the form is preserved.
(wrap o)
(wrapped? o)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close