Misterio77 / aoc2022

My Haskell and Rust attempt on AoC 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Built with Nix Hydra Status

Advent of Code 2022

My Haskell + Rust attempt on AoC 2022.

How to run

nix run .#day1

How to hack

Use Cabal and Cargo to build, and run while developing. You'll want:

  • Haskell: cabal, ghc, and (optionally) haskell-language-server
  • Rust: cargo, rustc, and (optionally) rust-analyzer and clippy

Nix devShells are available for each and every day, for example:

nix develop .#day1

Every day has a .envrc file to easily enter the devshell. Just install direnv, cd into a day, and run direnv allow.

Otherwise, just install them manually through your preferred package manager.

About

My Haskell and Rust attempt on AoC 2022

License:The Unlicense


Languages

Language:Rust 57.7%Language:Haskell 29.3%Language:Nix 12.9%