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