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

https://github.com/bthuilot/aoc21

๐ŸŽ„โ›„๏ธAdvent of Code 2021 โ›„๏ธ๐ŸŽ„
https://github.com/bthuilot/aoc21

advent-of-code advent-of-code-2021 haskell

Last synced: about 1 month ago
JSON representation

๐ŸŽ„โ›„๏ธAdvent of Code 2021 โ›„๏ธ๐ŸŽ„

Awesome Lists containing this project

README

          

# Advent Of Code 2021 [![Haskell CI](https://github.com/bthuilot/adventofcode2021/actions/workflows/haskell.yml/badge.svg)](https://github.com/bthuilot/adventofcode2021/actions/workflows/haskell.yml)
### *In Haskell*

## Running
To run first build the project, then use `stack exec` to run it

```shell
$ stack build
$ stack exec aoc2020
```

or you can use the `stack runghc` command directly on the `app/Main.hs` file

```shell
$ stack runghc app/Main.hs
```

## Tests

Tests for this repository are just the examples given in each prompt for the days.

The suite can be run by executing

```shell
$ stack test
```