hal9001@lemmy.world to Advent of Code@lemmy.worldEnglish · 1 year agoDay 3 Solutionsadventofcode.comexternal-linkmessage-square4fedilinkarrow-up16arrow-down10 cross-posted to: [email protected]
arrow-up16arrow-down1external-linkDay 3 Solutionsadventofcode.comhal9001@lemmy.world to Advent of Code@lemmy.worldEnglish · 1 year agomessage-square4fedilink cross-posted to: [email protected]
minus-squarehal9001@lemmy.worldOPlinkfedilinkEnglisharrow-up1·1 year 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