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

Paul Backus snarwin at gmail.com
Thu Aug 16 15:38:50 UTC 2018


On Thursday, 16 August 2018 at 12:25:14 UTC, aliak wrote:
> Hi
>
> See: https://optional.dub.pm

Looks great!

> auto john = some(new Person());

Would it also work to leave off the `some` here and skip the 
first `dispatch` in the following lines? (i.e., make `john` a 
`Person` rather than an `Optional!Person`)


More information about the Digitalmars-d-announce mailing list