F# – Record types vs classes
In F#, you can defined record types which differ from tuples and discriminated unions in that they allow you to organize values into a type and name those values through fields: Looks like a cut-down version of a standard .Net class with a couple of properties? Yes they do, but records offer several advantages over …