From ae679b6cc13afbe552e3eb678b9dc007d0ebc1b7 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Thu, 10 Sep 2015 23:10:34 -0400 Subject: [PATCH] remove dead code from old collector code --- src/com/rpl/specter/impl.cljc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/com/rpl/specter/impl.cljc b/src/com/rpl/specter/impl.cljc index beb1016..dd9c40e 100644 --- a/src/com/rpl/specter/impl.cljc +++ b/src/com/rpl/specter/impl.cljc @@ -619,13 +619,6 @@ (transform* [^CodeWalkerStructurePath this structure next-fn] (codewalk-until (.-afn this) next-fn structure))) -(deftype SelectCollector [sel-fn selector]) - -(extend-protocol p/Collector - SelectCollector - (collect-val [^SelectCollector this structure] - ((.-sel-fn this) (.-selector this) structure))) - (defn srange-select [structure start end next-fn] (next-fn (-> structure vec (subvec start end))))