On 22/11/11 11:19 PM, Timon Gehr wrote:
On 11/23/2011 12:06 AM, Peter Alexander wrote:On 22/11/11 10:00 PM, Manu wrote:So, I've been thinking about this const/lazy evaluation problem again.I think most of the complaints about D's const is due to the use of lazy evaluation for optimisation. I started wondering if there was room for a 'lazy' keyword.There already is one :-) http://d-programming-language.org/lazy-evaluation.htmlThat is not lazy evaluation. It is call by name.
True.
