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 {}]