8 ms·
genuine misunderstanding : what do you mean by "real" discriminated unions. I believe I am overlooking something (probably obvious even to me) since i know: h
by jjtheblunt 3y ago
genuine misunderstanding : what do you mean by "real" discriminated unions.
I believe I am overlooking something (probably obvious even to me) since i know:
https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/discriminated-unions https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...
is perhaps a misuse of the term in this context.
(I'm guessing you mean more like in Rust, but am not sure.)
- Smaug123 3y agoThe parent comment means that C# lacks DUs, not that F# lacks them.
- jjtheblunt 3y agoOh thank you