(change-coll zloc coll)Change collection to specified collection
Change collection to specified collection
(cycle-coll zloc)Cycles collection between vector, list, map and set
Cycles collection between vector, list, map and set
(expand-let zloc uri db)(expand-let zloc expand-to-top? uri db)Expand the scope of the next let up the tree.
Expand the scope of the next let up the tree.
(find-let-form zloc uri db)Finds a let-form that would be valid to move zloc to
Finds a let-form that would be valid to move zloc to
(introduce-let zloc binding-name)Adds a let around the current form.
Adds a let around the current form.
(move-to-let zloc uri db binding-name)Adds form and symbol to a let further up the tree
Adds form and symbol to a let further up the tree
(prepend-preserving-comment existing-loc new-loc)Returns an edit that places new-loc before existing-loc, keeping any
comments or whitespace that preceed existing-loc close to it.
Returns an edit that places `new-loc` before `existing-loc`, keeping any comments or whitespace that preceed `existing-loc` close to it.
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 |