docstring for view
This commit is contained in:
parent
b4b2200377
commit
3602a08e5d
1 changed files with 4 additions and 1 deletions
|
|
@ -291,7 +291,10 @@
|
||||||
structure
|
structure
|
||||||
)))
|
)))
|
||||||
|
|
||||||
(defpath view [afn]
|
(defpath
|
||||||
|
^{:doc "Navigates to result of running `afn` on the currently navigated value."}
|
||||||
|
view
|
||||||
|
[afn]
|
||||||
(select* [this structure next-fn]
|
(select* [this structure next-fn]
|
||||||
(next-fn (afn structure)))
|
(next-fn (afn structure)))
|
||||||
(transform* [this structure next-fn]
|
(transform* [this structure next-fn]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue