diff --git a/VERSION b/VERSION index 965065d..87b8891 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.9.3 +0.9.4-SNAPSHOT diff --git a/src/clj/com/rpl/specter.cljx b/src/clj/com/rpl/specter.cljx index d1b403e..12bb528 100644 --- a/src/clj/com/rpl/specter.cljx +++ b/src/clj/com/rpl/specter.cljx @@ -270,6 +270,13 @@ (next-fn (afn structure)) )) +(defpath biview [afn bfn] + (select* [this structure next-fn] + (next-fn (afn structure))) + (transform* [this structure next-fn] + (bfn (next-fn (afn structure))) + )) + (defn selected? "Filters the current value based on whether a selector finds anything. e.g. (selected? :vals ALL even?) keeps the current element only if an