Python syntax in Lisp and Scheme
David Eppstein
eppstein at ics.uci.edu
Wed Oct 15 15:41:07 EDT 2003
In article <m3y8vmz5kr.fsf at comail.ru>,
Alexey Dejneka <adejneka at comail.ru> wrote:
> > The context of this was in accessing closures from function defs.
> > Maybe you can call defun from within another function, but it won't give
> > you a closure.
>
> Really?
Apparently I was mistaken, at least for modern lisps. I haven't
programmed in lisp for a long time; the most recent lisp manual I can
find at hand is a 1981 Chinual, which still seems to be using dynamic
scoping and requires an explicit function call to create a closure.
--
David Eppstein http://www.ics.uci.edu/~eppstein/
Univ. of California, Irvine, School of Information & Computer Science
More information about the Python-list
mailing list