D3 sumtype api

Sebastiaan Koppe mail at skoppe.eu
Fri Feb 28 19:28:04 UTC 2025


On Friday, 28 February 2025 at 15:54:54 UTC, monkyyy wrote:
> On Friday, 28 February 2025 at 11:33:50 UTC, Dejan Lekic wrote:
>> It can hold only one value for God's sake...
>
> a nullable!ubyte has 257 states, its 2 values.

Yep. In mir `nullable!t` is just `algebraic!(typeof(null),t)`, 
and it makes absolute sense.




More information about the dip.ideas mailing list