Skip to content

My Haskell solutions to Advent of Code 2021

License

Notifications You must be signed in to change notification settings

stephenswat/aoc2021-hs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2021

This repository contains my Haskell solutions to the Advent of Code 2021 puzzles. You can find out more about Advent of Code at https://adventofcode.com/2021/.

Build

Building this code should be trivial if you have Stack installed. The following command should be sufficient to build the project:

$ stack build

Run

Similarly, you can use stack run to run the project. The program takes two arguments, which are the day number you wish to execute, and an input file. For example, to run the solution for day 1, execute the following command:

$ stack run 1 input/Day01.txt

Releases

No releases published

Packages

No packages published