From 1ddd8c22f6d4b432054ca11dd4151976c8d3f69e Mon Sep 17 00:00:00 2001 From: Thomas Athorne Date: Mon, 18 Apr 2016 16:21:33 +0000 Subject: [PATCH] Clearer names for arguments that are functions. --- src/clj/com/rpl/specter.cljx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/clj/com/rpl/specter.cljx b/src/clj/com/rpl/specter.cljx index a10eaf3..c0802bf 100644 --- a/src/clj/com/rpl/specter.cljx +++ b/src/clj/com/rpl/specter.cljx @@ -270,11 +270,11 @@ (next-fn (afn structure)) )) -(defpath parser [parse unparse] +(defpath parser [parse-fn unparse-fn] (select* [this structure next-fn] - (next-fn (parse structure))) + (next-fn (parse-fn structure))) (transform* [this structure next-fn] - (unparse (next-fn (parse structure))) + (unparse-fn (next-fn (parse-fn structure))) )) (defn selected?