Names and design of partial sumtypes

monkyyy crazymonkyyy at gmail.com
Sun Mar 2 22:56:11 UTC 2025


On Sunday, 2 March 2025 at 19:37:08 UTC, Inkrementator wrote:
> On Saturday, 15 February 2025 at 19:49:59 UTC, monkyyy wrote:
>> I think full sumtypes are probably usually overkill and I 
>> rarely use it; but I have some lib ideas that need... something
>
> This PR would probably make sumtypes easier to use in some 
> scenarios: https://github.com/dlang/phobos/pull/10650
>
> Maybe this would be already enough for you.

I dont see anything on snars part that suggests ambitions to make 
nullable ranges work better; just merely unification of nullable 
+ sumtype and Ive already written some code, Im pretty sure the 
hardest part of phoboes.sumtype is the safetyism which I have 
zero interest in implementing or using; maybe snar will be 
interested in some sumtype specific range code but who knows


More information about the Digitalmars-d-learn mailing list