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]]
(and (:conflicting route-data)
(every? (comp :conflicting second)
conflicts)))
path-conflicting))
conflicts))))
path-conflicting)
(not-empty)))
(defn conflicting-paths [conflicts]