mirror of
https://github.com/metosin/reitit.git
synced 2026-01-29 17:20:36 +00:00
Add comment based on Miikka's comments
This commit is contained in:
parent
f893be3d00
commit
b23bcfbd30
1 changed files with 1 additions and 0 deletions
|
|
@ -61,6 +61,7 @@
|
||||||
(cond->> (->> (walk data opts) (map-meta merge-meta))
|
(cond->> (->> (walk data opts) (map-meta merge-meta))
|
||||||
coerce (into [] (keep #(coerce % opts)))))
|
coerce (into [] (keep #(coerce % opts)))))
|
||||||
|
|
||||||
|
;; This whole function might be more efficient and easier to understand with transducers.
|
||||||
(defn conflicting-routes [routes]
|
(defn conflicting-routes [routes]
|
||||||
(some->>
|
(some->>
|
||||||
(loop [[r & rest] routes, acc {}]
|
(loop [[r & rest] routes, acc {}]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue