mirror of
https://github.com/Ajetski/advent-of-code.git
synced 2025-09-30 13:03:19 -09:00
use namespace alias over refer-all
This commit is contained in:
parent
3b2f1917ac
commit
6df8268e34
@ -1,10 +1,10 @@
|
|||||||
(ns day01
|
(ns day01
|
||||||
(:require
|
(:require
|
||||||
[input-manager :refer [get-input]]
|
[input-manager :refer [get-input]]
|
||||||
[core :refer :all]))
|
[core :as c]))
|
||||||
|
|
||||||
(def input (->> (get-input 1)
|
(def input (->> (get-input 1)
|
||||||
(map (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 {})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user