Inspired by @xavdid, I’ll be attempting the #adventofcode with a twist. I’ll be attempting it by using a newish-to-me language, Haskell!

https://github.com/acomley/advent-of-code-2024

GitHub - acomley/advent-of-code-2024: Advent of Code 2024 - Haskell

Advent of Code 2024 - Haskell. Contribute to acomley/advent-of-code-2024 development by creating an account on GitHub.

GitHub

PR for Day 01 of #adventofcode.

Ignoring input parsing, I’m rather surprised as the conciseness of the solution with Haskell.

https://github.com/acomley/advent-of-code-2024/pull/1

Day 1: Historian Hysteria by acomley · Pull Request #1 · acomley/advent-of-code-2024

https://adventofcode.com/2024/day/1

GitHub

PR for Day 02 of #adventofcode.

Haskell's HLS is impressive for always wanting to reduce complexity. I’m stumbling my way through and today was quite challenging with trying to figure out the correct list type to use.

https://github.com/acomley/advent-of-code-2024/pull/2

Day 2: Red-Nosed Reports by acomley · Pull Request #2 · acomley/advent-of-code-2024

https://adventofcode.com/2024/day/2

GitHub

PR for Day 03 of #adventofcode.

The aha moment today was using a tuple as the accumulator.

https://github.com/acomley/advent-of-code-2024/pull/3

Day 03: Historian Hysteria by acomley · Pull Request #3 · acomley/advent-of-code-2024

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

GitHub