See the kind namespace
See the kind namespace
When bound to true, prefer returning Kindly-annotated values rather than launching external viewers or tools. Tools that view kinds (like Clay) will bind to true. Libraries and user code can use this to know that the tool is already running.
When bound to true, prefer returning Kindly-annotated values rather than launching external viewers or tools. Tools that view kinds (like Clay) will bind to true. Libraries and user code can use this to know that the tool is already running.
(attach-kind-to-value value kind)(attach-meta-to-value value m)(check & args)Add a generated test using :kind/test-last
Add a generated test using `:kind/test-last`
(consider value m)Add metadata to a given value.
A values which cannot have metadata
(i.e., is not an instance of IObj)
is wrapped in a vector first
Add metadata to a given value. A values which cannot have metadata (i.e., is not an instance of `IObj`) is wrapped in a vector first
(deep-merge)(deep-merge a)(deep-merge a b)(deep-merge a b & more)Recursively merges values with support for control metadata. Merge rules:
Recursively merges values with support for control metadata.
Merge rules:
- Maps are merged recursively
- Non-maps except nil replace previous value
- ^:replace on a map replaces previous value
Examples:
(deep-merge {:a 1} {:a 2}) => {:a 2}
(deep-merge {:a 1} ^:replace {:b 2}) => {:b 2}(get-options)(hide-code value)(hide-code value bool)Annotate whether the code of this value should be hidden
Annotate whether the code of this value should be hidden
A set of common visualization requests
A set of common visualization requests
(merge-options! options)Mutates options with the deep merge of options
Mutates *options* with the deep merge of options
(set-options! options)Replaces options with options
Replaces *options* with options
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 |