3 ms·
I'm hardly missing discriminated unions (sure exhaustive checking would be nice) anymore since the introduction of switch expressions that in combination with r
by whizzter 2y ago
I'm hardly missing discriminated unions (sure exhaustive checking would be nice) anymore since the introduction of switch expressions that in combination with records handles most practical cases.
- CharlieDigital 2y agoI find DU's particularly useful with `System.Threading.Channels` because it lets the channel handle multiple types of results in one stream.