https://github.com/ma-fi-94/advent-of-haskell-24
Advent of Code, solved in Haskell!
https://github.com/ma-fi-94/advent-of-haskell-24
advent-of-code advent-of-code-2024 advent-of-code-haskell haskell
Last synced: about 2 months ago
JSON representation
Advent of Code, solved in Haskell!
- Host: GitHub
- URL: https://github.com/ma-fi-94/advent-of-haskell-24
- Owner: Ma-Fi-94
- License: gpl-3.0
- Created: 2024-12-01T11:57:56.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-25T16:42:29.000Z (5 months ago)
- Last Synced: 2025-03-30T10:42:06.928Z (about 2 months ago)
- Topics: advent-of-code, advent-of-code-2024, advent-of-code-haskell, haskell
- Language: Haskell
- Homepage:
- Size: 242 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Haskell, 2024!
Solving all of this year's AoC challenges in Haskell, once again!
Current progress:
|Day|Stars|Day|Stars|Day|Stars|Day|Stars|Day|Stars|
|---|---|---|---|---|---|---|---|---|---|
|01|⭐️⭐️|06|⭐️⭐️|11|⭐️⭐️|16|⭐️⭐️|21|⭐️⭐️|
|02|⭐️⭐️|07|⭐️⭐️|12|⭐️⭐️|17|⭐️⭐️|22|⭐️⭐️|
|03|⭐️⭐️|08|⭐️⭐️|13|⭐️⭐️|18|⭐️⭐️|23|⭐️⭐️|
|04|⭐️⭐️|09|⭐️⭐️|14|⭐️⭐️|19|⭐️⭐️|24|⭐️⭐️|
|05|⭐️⭐️|10|⭐️⭐️|15|⭐️⭐️|20|⭐️⭐️|25|⭐️⭐️|Some cool stuff I learned / did / remembered this year:
- Simple paralellisation in Haskell (see Utils.hs and Main.hs template)
- Regexes in Haskell (see day 3)
- The magic of Data.Map.union(s)With
- Floating point operations in Haskell (see day 14)
- A nice and sufficiently fast implementation of Dijkstra (see day 18)
- Cliques and how to find them kiiinda efficiently (see day 23)
- A little Vector.hs library with some basic operations (see Vector.hs). (I'd ultimately like to also make a Matricx.hs library, and would also like to explore if / how we can bake dimension into the type system for compile-time checking and less repetitive code.)
- That I finally need to make a Graph.hs library that provides basic functionality like DFS, BFS, Dijkstra, etc. To be done :)