Optional and NotNull version 0.5.0 - swift optional like and scala option like

aliak something at something.com
Mon Aug 27 19:57:18 UTC 2018


On Monday, 27 August 2018 at 05:22:30 UTC, FeepingCreature wrote:
>> - Consider a short form for "dispatch". Purely for convenience:
>>    e.g.: john.d.residence.d.numberOfRooms;
>
> Why not .get, like Nullable?
> As long as you never alias it to this... ;)

Mmm... get is indicative of getting the value. But we're not 
getting a value here, we're dispatching/propagating to the 
underlying type. I just wish we could figure out some way to use 
operators to some degree in D :(


More information about the Digitalmars-d-announce mailing list