(clojure-form-source-hash s)
Hash a clojure form string into a 32 bit num. Meant to be called with printed representations of a form, or a form source read from a file.
Hash a clojure form string into a 32 bit num. Meant to be called with printed representations of a form, or a form source read from a file.
(colored-string s c)
(colored-string _ _)
(format & args)
(get-form-at-coord form coord)
(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)
(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.
(obj-coord kind obj)
(println-err & args)
(tag-form-recursively form key)
Recursively add coordinates to all forms
Recursively add coordinates to all forms
(walk-code-form f form)
(walk-code-form coord f form)
Walk through form calling (f coor element). The value of coor is a vector of indices representing element's position in the form or a string for navigating into maps and set which are unordered. In the case of map elements, the string will start with a K or a V depending if it is a key or a value and will be followed by the hash of the key form for the entry. For sets it will always start with K followed by the hash of the element form. 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 position in the form or a string for navigating into maps and set which are unordered. In the case of map elements, the string will start with a K or a V depending if it is a key or a value and will be followed by the hash of the key form for the entry. For sets it will always start with K followed by the hash of the element form. All metadata of objects in the form is preserved.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close