On 05/20/2012 04:09 PM, deadalnix wrote:
Le 20/05/2012 01:03, Walter Bright a écrit :
http://www.reddit.com/r/programming/comments/tui75/lazy_evaluation_of_function_arguments_in_d/



This feature break pure/@safe/nothrow .


It does not break them.

lazy currently makes it impossible to have some guarantees that might be desirable to have inside the function with the lazy parameter, but the call site has all the information needed in order to establish them again.

I don't think this is a good idea to promote it right now, as it WILL
have to change.

Reply via email to