From b23bcfbd30ab9b4aac91a7b86e5901f4fd4c7de0 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Tue, 22 Aug 2017 16:44:05 +0300 Subject: [PATCH] Add comment based on Miikka's comments --- src/reitit/core.cljc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reitit/core.cljc b/src/reitit/core.cljc index 70246f22..003c4040 100644 --- a/src/reitit/core.cljc +++ b/src/reitit/core.cljc @@ -61,6 +61,7 @@ (cond->> (->> (walk data opts) (map-meta merge-meta)) coerce (into [] (keep #(coerce % opts))))) +;; This whole function might be more efficient and easier to understand with transducers. (defn conflicting-routes [routes] (some->> (loop [[r & rest] routes, acc {}]