Memoization for a recursive function in F#
This year I decided to solve the Advent of Code puzzles using F#, the functional programming language for .NET. Since I had very little previous experience with F#, this meant a lot of learning about the language as I was implementing my solutions. For one of the puzzles, memoization seemed the best approach, which meant I had to find a way to implement it in F#.