Exceptions vs the Result type in F#

added by DotNetKicks
3/15/2019 2:49:17 PM

2 Kicks, 418 Views

Lets assume we are designing a type that defines some lower and upper bounds. To keep this post simple, we define one rule: "You shall not be able to create an instance of it, with a lower bound exceeding the upper bound." Records & factory functions For this