Minor cleanup tweaks

This commit is contained in:
2022-01-11 10:45:06 -08:00
parent 175f723003
commit 318ae3024c
6 changed files with 23 additions and 128 deletions

View File

@@ -99,7 +99,7 @@
client-word-match (->> clients
(map
(fn [{:keys [:db/id :client/matches :client/name] :as client :or {matches []}}]
(let [client-words (-> #{}
(let [client-words (-> #{}
(into
(mapcat
(fn [match] (str/split (.toLowerCase match) #"\s" ))