optional 1.0.0 beta with "or/frontOr/Throw" range utilities

Andrea Fontana nospam at example.com
Wed Jul 31 07:29:15 UTC 2019


On Tuesday, 30 July 2019 at 10:04:03 UTC, aliak wrote:
> On Tuesday, 30 July 2019 at 04:18:28 UTC, Les De Ridder wrote:
>> On Monday, 29 July 2019 at 22:17:20 UTC, aliak wrote:
>>> [...]
>>>
>>> * dispatch() has been renamed to oc(); "optional chain"
>>
>> Why not 'chain()' or 'optionalChain()'?
>
> Only because chain is in range and optionalChain is too long 🤷‍♂️.

I would have voted for "optChain()"


More information about the Digitalmars-d-announce mailing list