mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 09:23:17 -09:00
use lazy seq
This commit is contained in:
parent
8f5f88123a
commit
b2f4138a59
@ -64,7 +64,7 @@
|
||||
(->> data
|
||||
(group-by first)
|
||||
(filter #(cogs (first %)))
|
||||
(map #(update % 1 (partial mapv second)))
|
||||
(map #(update % 1 (partial map second)))
|
||||
(map second)
|
||||
(map (partial map #(Integer/parseInt %)))
|
||||
(map (partial reduce *))
|
||||
|
Loading…
x
Reference in New Issue
Block a user