hal9001@lemmy.world to Advent of Code@lemmy.worldEnglish · 11 months agoDay 3 Solutionsadventofcode.comexternal-linkmessage-square4fedilinkarrow-up16arrow-down10
arrow-up16arrow-down1external-linkDay 3 Solutionsadventofcode.comhal9001@lemmy.world to Advent of Code@lemmy.worldEnglish · 11 months agomessage-square4fedilink
minus-squarehal9001@lemmy.worldOPlinkfedilinkEnglisharrow-up1·11 months agoMy clojure solution That was a fun one to parse. Needed to leak some mutability into my code using the raw Java Matcher as there wasn’t another way to get the indexes of the matches in the string. Luckily it’s contained within a fn so not too bad :D
My clojure solution
That was a fun one to parse. Needed to leak some mutability into my code using the raw Java Matcher as there wasn’t another way to get the indexes of the matches in the string. Luckily it’s contained within a fn so not too bad :D