Lazy evaluation of function arguments in D
Lars T. Kyllingstad
public at kyllingen.net
Mon May 21 07:36:43 PDT 2012
On Monday, 21 May 2012 at 14:26:31 UTC, Andrei Alexandrescu wrote:
> On 5/21/12 8:48 AM, jerro wrote:
>>> The whole point of it is to have nice syntax at the call site.
>>> Delegate syntax is, however, conscise enough already.
>>
>> I agree with that completely. I have also never used lazy, nor
>> have I
>> seen it used in a public API.
>
> enforce() uses lazy.
So will absolutePath() and relativePath(), starting next release:
https://github.com/D-Programming-Language/phobos/pull/522
-Lars
More information about the Digitalmars-d
mailing list