On Mon, Sep 26, 2016 at 10:46:57PM +1000, Steven D'Aprano wrote:
> Let's talk about lazy evaluation in a broader sense that just function 
> annotations.
> 
> If we had syntax for lazy annotation -- let's call them thunks, after 
> Algol's thunks 

Er, that should be lazy evaluation. Or at least delayed evaluation.

> -- then we could use them in annotations as well as 
> elsewhere. But if we special case annotations only, the Zen has 
> something to say about special cases.



-- 
Steve
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to