1 min read

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.

Omg there's a bug here! This was my day1 submission for adventofcode 2021 .

It pains me to say I spent about an hour debugging this, thinking through the logic over and over again in the wrong place. It was only when I resorted to trusty printfn that the problem became clear. I guess this is something to watch for when you don't explicitly type annotate parameters that are generated from untyped data...