如果你没有想到过用词法闭包(lexical closures)(在之前那个例子中用到过),可以暂时放心去用,因为Lisp程序员一直都这么用。在Common Lisp的程序里很难找到不使用闭包的。
基于6个网页-相关网页
lexical closures
词法闭包
以上为机器翻译结果,长、整句建议使用 人工翻译 。
Or how about Perl 4? Between Perl 4 and Perl 5, lexical closures got added to the language.
或者Perl4又如何呢? Perl4到Perl5之间,词法闭包被加进来了。
youdao
In practice their usefulness is greatly enhanced by other Lisp features like lexical closures and rest parameters.
实践中,宏的作用通常由其它一些Lisp特性比如词法闭包以及rest参数大大加强。
应用推荐
模块上移
模块下移
不移动