mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 09:23:17 -09:00
format
This commit is contained in:
parent
6df8268e34
commit
b07f377f78
@ -5,8 +5,8 @@
|
||||
|
||||
(def input (->> (get-input 1)
|
||||
(map (c/compose #(re-seq #"(\d+)\s+(\d+)" %)
|
||||
first rest ; only get match groups
|
||||
#(mapv parse-long %)))
|
||||
first rest ; only get match groups
|
||||
#(mapv parse-long %)))
|
||||
(into {})
|
||||
((juxt keys vals))))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user