Darren New wrote:
> 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. :-)
Yeah.... that's not closures.

--Chris

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to