(defn function-matcher "Creates a tester that whitelists functions." [& functions] (fn [form] (if (= (type form) clojure.lang.Var) (map (partial = (:name (meta form))) functions) (map (partial = form) functions))))
Comments top
No comments for function-matcher. Log in to add a comment.