From 2ef3eb8d2c6fa9870ac04e67eb09f84864c0d828 Mon Sep 17 00:00:00 2001 From: ajet Date: Fri, 5 Dec 2025 20:46:33 -1000 Subject: [PATCH] inline var --- 2025/src/day06.clj | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/2025/src/day06.clj b/2025/src/day06.clj index 7d73e61..3c818d7 100644 --- a/2025/src/day06.clj +++ b/2025/src/day06.clj @@ -8,12 +8,11 @@ (def nums (map (comp (partial map parse-long) #(re-seq #"\d+" %)) nums-raw)) -(def op-map {\+ +, \* *}) (def ops (->> input (drop-while num-line?) (first) (filter (partial not= \space)) - (mapv op-map))) + (mapv {\+ +, \* *}))) ;; part 1 (->> nums