3 ms·
It's not no scoping - it's specifically scoped to where the call to f() was made, rather than where it was defined. It basically makes everything in scope in g(
by regularfry 17y ago
It's not no scoping - it's specifically scoped to where the call to f() was made, rather than where it was defined. It basically makes everything in scope in g() available to f() as a hidden parameter.
Pre-CL Lisps had this by default. defvar is, as far as I can tell (still learning!) how you get at it now.
- Tichy 17y agoThanks for the info. At first sight it looks impossible to handle (how do you know what variables f expects), but maybe there is a technique to it I don't know yet.