this repo has no description

(util/splarse): filter out blank strings from the split before parsing nums

+1 -1
+1 -1
src/aoc2025/util.clj
··· 114 114 "Splits line with re and parses all longs out of the resulting split. Single argument returns a curried call with the specified re" 115 115 ([re] (partial splarse re)) 116 116 ([re line] 117 - (->> (s/split line re) (mapv parse-long)))) 117 + (->> (s/split line re) (remove s/blank?) (mapv parse-long)))) 118 118 119 119 (defn between? 120 120 "Defaults to inclusive checking (0 with a min of 0 and max of 10 would return true)"