Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/giacomocavalieri/aoc

Haskell AOC
https://github.com/giacomocavalieri/aoc

advent-of-code aoc

Last synced: 14 days ago
JSON representation

Haskell AOC

Awesome Lists containing this project

README

        

# HAOC
Haskell Advent of Code

### Setup of a new year
To auto generate the directory for a given year run `cabal run aoc-cli -- {year}`;
it will automatically generate all the skeleton files for year `{year}` and add a corresponding executable stanza to the `aoc.cabal` file.

### Running a year
After setting up a year with `aoc-cli` you can run a day with `cabal run aoc-{year} -- {day}`;
It will automatically download the input from the aoc website and save it in `/aoc//.txt`.
In order to do so it needs a file `/aoc/.aoc-cookie` with the aoc website's session cookie value.