Use transducer per #329 review suggestion

This commit is contained in:
Ilmo Raunio 2019-11-13 21:36:13 +02:00 committed by Tommi Reiman
parent e092001568
commit 25728ae8f2

View file

@ -90,8 +90,8 @@
(remove (fn [[[_ route-data] conflicts]] (remove (fn [[[_ route-data] conflicts]]
(and (:conflicting route-data) (and (:conflicting route-data)
(every? (comp :conflicting second) (every? (comp :conflicting second)
conflicts))) conflicts))))
path-conflicting)) path-conflicting)
(not-empty))) (not-empty)))
(defn conflicting-paths [conflicts] (defn conflicting-paths [conflicts]