Misunderstanding about closures

Alexander May alex-news-deleteme at comcast.net
Tue Jun 8 15:00:41 EDT 2004


Thanks everybody.  I now have a complete understanding of all the issues.
Alex

"Michele Simionato" <michele.simionato at poste.it> wrote in message
news:95aa1afa.0406072141.78f0fedd at posting.google.com...
> Alexander Schmolck <a.schmolck at gmx.net> wrote in message
news:<yfsy8mzk4os.fsf at black132.ex.ac.uk>...
> > Not quite. In fact in the language that more or less started it all,
scheme,
> > the standard iteration construct 'do' does indeed introduce a *new
binding* on
> > each iteration.
> <snip>
> > Common Lisp OTOH doesn't -- like python:
> >
> <snip>
>
> A thoughtful discussion of Python/Scheme/Lisp closures and for loops
> was made by
> Jacek Generowicz in this thread:
>
>
http://groups.google.it/groups?hl=it&lr=&ie=UTF-8&oe=UTF-8&threadm=tyfsmgtbewl.fsf%40lxplus030.cern.ch&rnum=1&prev=/groups%3Fhl%3Dit%26lr%3D%26ie%3DUTF-
8%26oe%3DUTF-8%26q%3Dsimionato%2Blambda%26btnG%3DCerca%26meta%3Dgroup%253Dco
mp.lang.python.*





More information about the Python-list mailing list