This commit is contained in:
Nathan Marz 2015-05-05 09:32:34 -04:00
parent 3f26eb1826
commit bde18388d7

View file

@ -1,6 +1,10 @@
(ns com.rpl.specter.protocols)
;;TODO: might be able to speed it up more by having these return a function rather than
;;rely on protocol methods (can then compose functions together directly)
;;so protocol would just be used during composition - what about execution?
;;could have a select-fast function that takes in a selector FUNCTION explicitly
(defprotocol StructureValsPath
(select-full* [this vals structure next-fn])
(update-full* [this vals structure next-fn]))