advent-of-code-template icon indicating copy to clipboard operation
advent-of-code-template copied to clipboard

Download input when missing

Open Spaceface16518 opened this issue 2 years ago • 1 comments

I want to learn Haskell using AOC in 2022. A lot of other AOC helpers include support for automatically downloading input when it is missing. This would be great functionality to have in this template.

I am not very familiar with Haskell, so if you want to implement this feature in this repo, that would be great! Otherwise, I will just implement it in a personal fork.

Thanks for this great template!

Spaceface16518 avatar Nov 30 '22 08:11 Spaceface16518

Hello, I also wanted support for automatically downloading the input when it is missing, so I implemented it in my fork. However, how I implemented it is not the best (it is pretty hacky), but it should work. (my fork also has some additional edits to make it compile for me because, for some reason, ghc 9.2 and ghc 9.4 isn't working for me right now)

astaugaard avatar Dec 01 '22 02:12 astaugaard