DIP1000: Walter's proposal to resolve ambiguity of ref-return-scope parameters
zjh
fqbqrr at 163.com
Fri Nov 26 02:46:14 UTC 2021
On Friday, 26 November 2021 at 02:08:54 UTC, Paul Backus wrote:
> ```d
> auto result = doStuff(x, y, z).ifThrown(w);
> ```
>
> ...to look like this:
>
> ```d
> auto result = (() => doStuff(x, y, z)).ifThrown(w);
> ```
single λ, It's really hard to change.
But if more than one `λ`, You can use the concept like. It's very
convenient.
We should not encourage the use of `lazy`, keep it, but not
encourage it.
More information about the Digitalmars-d
mailing list