Advent of Code 2021

This repository contains my solutions to the Advent of Code 2021 challenges.

Days 1-9 are in Haskell.

The rest are in Rust.

Haskell run instructions

Install GHC 9.2.4 and Cabal 3.6.2.0 (with GHCup)

cd 01
cabal run part1
cabal run part2

Rust run instructions

Install rustc 1.63.0 (with rustup) although should work with all later and most earlier versions

cd 10
cargo run --release --bin part1
cargo run --release --bin part2