https://github.com/bthuilot/aoc22
🎄 advent of code 2022: Haskell 🎄
https://github.com/bthuilot/aoc22
advent-of-code haskell
Last synced: about 1 month ago
JSON representation
🎄 advent of code 2022: Haskell 🎄
- Host: GitHub
- URL: https://github.com/bthuilot/aoc22
- Owner: bthuilot
- License: gpl-3.0
- Created: 2022-11-19T04:24:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-24T02:00:42.000Z (over 3 years ago)
- Last Synced: 2025-12-26T02:39:21.044Z (6 months ago)
- Topics: advent-of-code, haskell
- Language: Haskell
- Homepage:
- Size: 196 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2022 - Haskell
### Index
1. [Building/Running](#Buidling/Running)
2. [Tests](#Tests)
3. [Completed Days](#Completed-Days)
This repositories stores my solutions in Haskell to [Advent of Code 2022](https://adventofcode.com/2022).
For more info on the approach to each day,
read the module header comment located at the top of each day's source file
(an index is located below)
## Building/Running
This project leverages stack to compile and run the project, to build an executable simply run
```bash
$ stack run
# Or for running particular days
$ stack run -- --days [INSERT DAY NUMBERS HERE] # ex 1 2 5 10
```
## Tests
To test functionaility of the project, There exists a test suite that can be run by invoking
```bash
$ stack test
# Or for only testing certain days
$ stack test --test-arguments="-d [INSERT DAY NUMBERS HERE]"
```
## Completed Days
Below is an index to every completed day's implementation source code (containing documentation of approach) and the challenge for the day
- [Day 0](src/Day00.hs) : *This is a test day supposed to server a placeholder until the challenge starts*
- [Day 1](src/Day01.hs) : [challenge](https://adventofcode.com/2022/day/1)
- [Day 2](src/Day02.hs) : [challenge](https://adventofcode.com/2022/day/2)
- [Day 3](src/Day03.hs) : [challenge](https://adventofcode.com/2022/day/3)
- [Day 4](src/Day04.hs) : [challenge](https://adventofcode.com/2022/day/4)
- [Day 5](src/Day05.hs) : [challenge](https://adventofcode.com/2022/day/5)
- [Day 6](src/Day06.hs) : [challenge](https://adventofcode.com/2022/day/6)
- [Day 7](src/Day07.hs) : [challenge](https://adventofcode.com/2022/day/7)
- [Day 8](src/Day08.hs) : [challenge](https://adventofcode.com/2022/day/8)
- [Day 9](src/Day09.hs) : [challenge](https://adventofcode.com/2022/day/9)
- [Day 10](src/Day10.hs) : [challenge](https://adventofcode.com/2022/day/10)
- [Day 11](src/Day11.hs) : [challenge](https://adventofcode.com/2022/day/11)
- [Day 12](src/Day12.hs) : [challenge](https://adventofcode.com/2022/day/12)
- [Day 13](src/Day13.hs) : [challenge](https://adventofcode.com/2022/day/13)
- Day 14 : [challenge](https://adventofcode.com/2022/day/14)
- [Day 15](src/Day15.hs) : [challenge](https://adventofcode.com/2022/day/15)