Hacker News new | ask | show | jobs
by jjtheblunt 1049 days 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-ref...

is perhaps a misuse of the term in this context.

(I'm guessing you mean more like in Rust, but am not sure.)

1 comments

The parent comment means that C# lacks DUs, not that F# lacks them.
Oh thank you