D3 sumtype api

monkyyy crazymonkyyy at gmail.com
Fri Feb 28 00:46:13 UTC 2025


On Friday, 28 February 2025 at 00:13:42 UTC, Paul Backus wrote:
> On Thursday, 27 February 2025 at 23:14:09 UTC, monkyyy wrote:
>> I suggest the following as a starting point for any sumtype 
>> related api
>
> FYI, `get!T` is being added in this PR:
>
> https://github.com/dlang/phobos/pull/10650/

If I read that right you were doing it get!int but now its 
breaking; but I assume phoboes v3 would at least unify nullable 
and sumtype to some degree, Im not really predicting 
d2.std.nullable to be fixed


More information about the dip.ideas mailing list