Hacker GitHub

← All repos

domn1995/dunet

View on GitHub ↗ ★ 889 C#

C# discriminated union source generator

5 mentions on Hacker News by 2 people: 0 stories, 5 comments · first 2023-08-24 · latest 2025-10-05

Mentions per year 5 mentions · busiest year 2024 (3)
20082026
  1. …/timdeschryver.dev/blog/pattern-matching-examples-in-... [1] https://github.com/mcintyre321/OneOf [2] https://github.com/domn1995/dunet
    comment by CharlieDigital · 2025-10-05 · in What .NET 10 GC changes mean for developers
  2. …feature C# is missing. To ease the wait you could try Dunet (discriminated union source generator). https://github.com/domn1995/dunet
  3. …/chrlschn.dev/blog/2024/07/csharp-discriminated-union... [0] https://github.com/mcintyre321/OneOf [1] https://github.com/domn1995/dunet
    comment by CharlieDigital · 2024-10-18 · in Net 9.0 LINQ Performance Improvements
  4. It's possible to add DUs in C# today with some third party packages. - https://github.com/domn1995/dunet - https://github.com/mcintyre321/OneOf Quite good and ergonomic with the source generators removing a lot of the boilerplate. I have a…
    comment by CharlieDigital · 2024-08-07 · in Official proposal for Type Unions in C#
  5. …in C# via packages like OneOf and Dunet. Dunet is really good. https://github.com/mcintyre321/OneOf https://github.com/domn1995/dunet It's on the roadmap and will arrive at some point: https://github.com/dotnet/csharplang/blob/main/proposal…
    comment by CharlieDigital · 2023-08-24 · in Bun v0.8