#AdventOfCode https://adventofcode.com/2024/day/3

Decided to learn how to use Parsec instead of a hand rolled state machine. Was nice to use but took me a while to figure out how to parse only the good stuff and drop the garbage between tokens, as required by the problem.
https://github.com/justinhj/advent-of-haskell/blob/a4ba12ee9d7c5c834eb54226a1dbbc514b36c3d9/problems/DayThree/PartTwo.hs#L25

Comments