Advent of Code: Day 1
Stumbled across this problem set Day 1 - Advent of Code 2021. Problems that are to be solved daily before
Omg there's a bug here!
It pains me to say I spent about an hour debugging this, thinking through the logic over and over again in the wrong place.
Git and Subversion
You can use git with a svn repository. Note that this step can take a few hours because git checkouts out every revision in the svn repository and commits it locally.
Trivial Monad Example in F#
So how do we solve this? Well a good programmer will recognize the repeated nested match statements and try to devise a function to abstract this away.