Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/prikhi/advent-of-code-2021
Advent of Code 2021 in Haskell
https://github.com/prikhi/advent-of-code-2021
advent-of-code advent-of-code-2021 haskell
Last synced: about 1 month ago
JSON representation
Advent of Code 2021 in Haskell
- Host: GitHub
- URL: https://github.com/prikhi/advent-of-code-2021
- Owner: prikhi
- License: gpl-3.0
- Created: 2021-12-01T16:20:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-25T17:45:15.000Z (about 3 years ago)
- Last Synced: 2024-10-11T23:22:16.411Z (3 months ago)
- Topics: advent-of-code, advent-of-code-2021, haskell
- Language: Haskell
- Homepage: https://adventofcode.com/2021/
- Size: 176 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2021
To run a solution do something like:
```sh
$ make run day=01
runghc --ghc-arg=-Wall Day01.hs < inputs/day01.txt
Part 1: 1529
Part 2: 1567
```Compile instead for speed gains:
```sh
make compile day=05
```Watch files, recompile, & run:
```sh
make watch day=01
```Make solution & input files for new day:
```sh
make new-day day=09
```## License
GPL-3.0+