From 56ba5a5b8dd9660461ab7827b907bc4b27b0a374 Mon Sep 17 00:00:00 2001 From: Nathan Marz Date: Thu, 10 Sep 2015 14:08:57 -0400 Subject: [PATCH] removed unused KeyPath type --- src/com/rpl/specter/impl.cljc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/com/rpl/specter/impl.cljc b/src/com/rpl/specter/impl.cljc index 38af5c1..204398e 100644 --- a/src/com/rpl/specter/impl.cljc +++ b/src/com/rpl/specter/impl.cljc @@ -590,16 +590,6 @@ (vec structure) ancestry)))) -(deftype KeyPath [akey]) - -(extend-protocol p/StructurePath - KeyPath - (select* [^KeyPath this structure next-fn] - (key-select (.-akey this) structure next-fn)) - (transform* [^KeyPath this structure next-fn] - (key-transform (.-akey this) structure next-fn) - )) - (deftype SelectCollector [sel-fn selector]) (extend-protocol p/Collector