Skip to content

Misterio77/aoc2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.