3 ms·
pattern matching comes along with discriminated unions (enums). discriminated unions come along with functional programming, probably because they give you a mo
by gameswithgo 6y ago
pattern matching comes along with discriminated unions (enums). discriminated unions come along with functional programming, probably because they give you a more complete set of types mathematically (AND types as we are used to with structs/classes and OR types)