http://wiki.dlang.org/DIP25 has been preliminarily approved for 2.067
Zach the Mystic via Digitalmars-d
digitalmars-d at puremagic.com
Sat Jan 17 10:01:43 PST 2015
On Saturday, 17 January 2015 at 17:08:42 UTC, Marc Schütz wrote:
> On Friday, 16 January 2015 at 21:55:13 UTC, Zach the Mystic
>> I'm working on an article/DIP which actually goes further than
>> the new DIP25, but is nonetheless completely compatible with
>> it. I'll have the article in a day or two.
>
> I'm very interested in that!
>
> I think the `return` notation is a good idea, and can maybe be
> reused in a more complete `scope` proposal. A downside is that
> it only applies to the return value, but not to other `out` and
> `ref` parameters. But the `!` syntax can work here, too.
Yup. In fact, my DIP is partly inspired the 'scope!' syntax
suggestion in your DIP.
More information about the Digitalmars-d
mailing list