Introduction

F# is a statically-typed, functional-first programming language that runs on the .NET platform. Even though I’m usually writing C# in my day job (and quite a bit of TypeScript), I am massive fan of F# and functional programming in general. I won’t spend any more time introducing F#, as that’s a different post for a different day, but I will say that a good amount of the newer features of C# have been stolen straight from F#. One feature that has yet to be “appropriated” by C# is Units of Measure.

A common problem