3 ms·
Fantastic. I note it's indeed being designed since 2017 so it's probably not as easy as I would hope. The design seems to not have progressed beyond discussion
by alkonaut 3y ago
Fantastic. I note it's indeed being designed since 2017 so it's probably not as easy as I would hope. The design seems to not have progressed beyond discussion at all in 6 years.
- conor- 3y agoUntil that feature lands there's this https://github.com/mcintyre321/OneOf https://github.com/mcintyre321/OneOf which is pretty nice.
- Turskarama 3y agoI suspect a lot of the pattern matching stuff was built in order to support these. Sum types are a feature I'm really excited for.