Advent of code 2023 solved using haskell
Easy, just some function composition.
Could probably have done it in a cleaner way, but I wanted to use Parsec.
Pretty simple, but probably could have done it in a cleaner fashion.
Probably the most difficult one so far, but array manipulation in haskell is tough. Didn't bother using Vector or things like that.
Honestly the hardest part was understanding how the part 2 scoring works, not that difficult after that. Added some small optimizations using vectors.
Fairly simple math. Careful about overflows when squaring