Discussion Thread: DIP 1033--Implicit Conversion of Expressions to Delegates--Community Review Round 1
Meta
jared771 at gmail.com
Thu Apr 23 14:49:53 UTC 2020
On Thursday, 23 April 2020 at 13:20:08 UTC, Guillaume Piolat
wrote:
> On Thursday, 23 April 2020 at 11:13:34 UTC, Patrick Schluter
> wrote:
>>
>> I always thought that lazy should also be marked at the call
>> site as it is a very different semantic on the caller and on
>> the callee. As it is now, it is true that the example above is
>> unfortunate and a real source of unpleasant surprizes.
> +1
>
> Step 1: lazy must be used at the call site
That would play havoc with generic code and would significantly
increase the complexity of standard phobos functions like map,
filter, etc.
More information about the Digitalmars-d
mailing list