David Brown wrote:
On Fri, Jan 11, 2008 at 11:44:04PM -0800, Darren New wrote:
David Brown wrote:
But, since functions in Scheme have closures (which CL has too, BTW)
C has them too, technically. ;-)
C definitely does _not_ have closures.
By virtue of the fact that you can't nest procedure calls, function
pointers are closures in C. :-) Everything is either local or global,
so as far as I understand the definition of closure, this means a
function pointer runs in the same environment in which the pointer was
created. :-)
--
Darren New / San Diego, CA, USA (PST)
It's not feature creep if you put it
at the end and adjust the release date.
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg