use lazy seq

This commit is contained in:
Adam Jeniski 2023-12-03 10:03:46 -05:00
parent 8f5f88123a
commit b2f4138a59

View File

@ -64,7 +64,7 @@
(->> data (->> data
(group-by first) (group-by first)
(filter #(cogs (first %))) (filter #(cogs (first %)))
(map #(update % 1 (partial mapv second))) (map #(update % 1 (partial map second)))
(map second) (map second)
(map (partial map #(Integer/parseInt %))) (map (partial map #(Integer/parseInt %)))
(map (partial reduce *)) (map (partial reduce *))