On Thursday, 23 August 2018 at 09:29:30 UTC, Nicholas Wilson wrote:
On Thursday, 23 August 2018 at 07:00:01 UTC, Iain Buclaw wrote:
On Thursday, 23 August 2018 at 06:34:04 UTC, Shachar Shemesh wrote:
On 23/08/18 09:17, Jacob Carlborg wrote:
I don't see why we just can't add support for scoped lazy parameters. It's already in the language just with a different syntax (delegates). That would probably be an easy fix (last famous words :)). I guess it would be better if it could be inferred.

Here's the interesting question, though: is this *going* to happen?

We've known about this problem for ages now. No movement.

It's on my todo list, however I've instead been doomed to work on higher priority things.

More generally though, some time should be spent on trying out things in the spirit of "will it blend" just to see what happens. Putting effort towards having a more homogeneous environment in the language should in the long run pay its dividends.

Is there even any way to escape a lazy? If no, then lazy is identical to scope lazy.
E.g. https://run.dlang.io/is fails to compile

Link not found. I assume you tried something like returning a delegate that references a lazy parameter?

Reply via email to