Skip to content

1Computer1/advent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code Template

This workspace is sorta convenient:

  • generate.py <year> generates files in src/Advent/Year<year> and the imports in app/Main.hs and adds to exposed-modules in advent.cabal.

  • Advent.Runner.TH generates a function that runs the solution given the year, day, and subproblem (A or B).

  • To run a solution, simply do cabal run advent -- <year> <day><part>..., for example, cabal run advent -- 2020 1a 1b.

Feel free to use this as a template for yourself, maybe add tests and benchmarks or something.
My own solutions will be on a separate branch.

About

Advent of code solutions in Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published