DIP66 has been approved contingent to a few amendments as noted

via Digitalmars-d digitalmars-d at puremagic.com
Sat Dec 27 04:39:53 PST 2014


On Saturday, 27 December 2014 at 12:32:32 UTC, Nick Treleaven 
wrote:
> On 24/12/2014 06:18, "Ola Fosheim Grøstad" 
> <ola.fosheim.grostad+dlang at gmail.com>" wrote:
>> "lazy" was implemented in Algol and then shunned in just about 
>> all
>> languages that followed.
>
> FWIW Apple's recent Swift has @autoclosure, which is the same 
> as lazy. It's needed to implement assert in Swift.

Yes...

«As with macros in C, auto-closures are a very powerful feature 
that must be used carefully because there is no indication on the 
caller side that argument evaluation is affected.»

https://developer.apple.com/swift/blog/?id=4


More information about the Digitalmars-d mailing list