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

aliak something at something.com
Wed Aug 22 22:11:05 UTC 2018


On Monday, 20 August 2018 at 19:52:53 UTC, jmh530 wrote:
> On Monday, 20 August 2018 at 19:06:36 UTC, Seb wrote:
>> [snip]
>> That looks pretty cool!
>> I added optional to run.dlang.io (e.g. 
>> https://run.dlang.io/is/912kVG) and the project tester 
>> (https://github.com/dlang/ci/pull/288).
>
> It's interesting that both sumtype and optional have match 
> templates. Maybe scope to combine these projects?

That'd be cool. Optional uses .match on a "some" or "none" range, 
while SumType uses it on a union. So ideas on how to go about it?


More information about the Digitalmars-d-announce mailing list