make terminal and vterminal select codepath no-ops
This commit is contained in:
parent
7bd119aa52
commit
632e710b07
3 changed files with 9 additions and 10 deletions
|
|
@ -1,7 +1,8 @@
|
|||
## 1.0.6-SNAPSHOT
|
||||
## 1.1.0-SNAPSHOT
|
||||
|
||||
* Add `vtransform` variant of `transform` that takes in collected values as a vector in the first argument rather than spliced into argument list.
|
||||
* Add `vterminal` that takes in collected vals as vector in first argument rather than spliced into argument list.
|
||||
* Change `terminal` to be a no-op on select codepath
|
||||
|
||||
## 1.0.5
|
||||
|
||||
|
|
|
|||
2
VERSION
2
VERSION
|
|
@ -1 +1 @@
|
|||
1.0.6-SNAPSHOT
|
||||
1.1.0-SNAPSHOT
|
||||
|
|
|
|||
|
|
@ -643,28 +643,26 @@
|
|||
i/STAY*)
|
||||
|
||||
(def
|
||||
^{:doc "For usage with `multi-transform`, defines an endpoint in the navigation
|
||||
that will have the parameterized transform function run. The transform
|
||||
^{:doc "Defines an endpoint in the navigation the transform function run. The transform
|
||||
function works just like it does in `transform`, with collected values
|
||||
given as the first arguments"}
|
||||
terminal
|
||||
(richnav [afn]
|
||||
(select* [this vals structure next-fn]
|
||||
(i/throw-illegal "'terminal' should only be used in multi-transform"))
|
||||
NONE)
|
||||
(transform* [this vals structure next-fn]
|
||||
(i/terminal* afn vals structure))))
|
||||
|
||||
(def
|
||||
^{:doc "For usage with `multi-transform`, defines an endpoint in the navigation
|
||||
that will have the parameterized transform function run. The transform
|
||||
^{:doc "Defines an endpoint in the navigation the transform function run.The transform
|
||||
function works differently than it does in `transform`. Rather than receive
|
||||
collected vals spliced in as the first arguments to the function, this function
|
||||
always takes two arguemnts. The first is all collected
|
||||
vals in a vector, and the second is the navigated value."}
|
||||
always takes two arguemnts. The first is all collected vals in a vector, and
|
||||
the second is the navigated value."}
|
||||
vterminal
|
||||
(richnav [afn]
|
||||
(select* [this vals structure next-fn]
|
||||
(i/throw-illegal "'terminal' should only be used in multi-transform"))
|
||||
NONE)
|
||||
(transform* [this vals structure next-fn]
|
||||
(afn vals structure))))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue