From 79f93e57d615660894386a911c1cc700ddc27d81 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Fri, 27 Aug 2021 16:48:54 -0500 Subject: [PATCH] Update sorted-by to use the correct selection macro --- src/clj/com/rpl/specter.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clj/com/rpl/specter.cljc b/src/clj/com/rpl/specter.cljc index 2894235..45e6c5e 100644 --- a/src/clj/com/rpl/specter.cljc +++ b/src/clj/com/rpl/specter.cljc @@ -1559,6 +1559,6 @@ (late-bound-nav [late (late-path keypath) late-fn comparator] (select* [this structure next-fn] - (n/sorted-select structure #(compiled-select late %) late-fn next-fn)) + (n/sorted-select structure #(compiled-select-one! late %) late-fn next-fn)) (transform* [this structure next-fn] - (n/sorted-transform structure #(compiled-select late %) late-fn next-fn))))) + (n/sorted-transform structure #(compiled-select-one! late %) late-fn next-fn)))))