this repo has no description

(util): gluen now tries parsing as bignum upon a NumberFormatException for nums > int max

+4 -1
+4 -1
src/aoc2025/util.clj
··· 145 145 (defn gluen 146 146 "Takes a coll of numbers and turns them into a number" 147 147 [digits] 148 - (->> digits (apply str) parse-int)) 148 + (let [num-str (apply str digits)] 149 + (try 150 + (parse-int num-str) 151 + (catch java.lang.NumberFormatException e (bigint num-str))))) 149 152 150 153 (def minv 151 154 "(partial map-indexed vector)"