Is there a way to change the closure of a python function?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Thu Sep 29 02:28:29 EDT 2016


On Thursday 29 September 2016 16:13, Gregory Ewing wrote:

> Philosophical question: Is a function that never
> returns actually a function?

Mathematically, all functions return, instantly. Or rather, mathematics occurs 
in an abstract environment where there is no time. Everything happens 
simultaneously. So even infinite sums or products can be calculated instantly 
-- if they converge.

So, yes, even functions that never return are functions. You just need to 
collapse all of infinite time into a single instant.


-- 
Steven
git gets easier once you get the basic idea that branches are homeomorphic 
endofunctors mapping submanifolds of a Hilbert space.




More information about the Python-list mailing list