Lisp-1和Lisp-2有什么区别? [英] What is the difference between Lisp-1 and Lisp-2?
问题描述
我试图理解Lisp-1和Lisp-2之间的区别,以及这与Clojure有什么关系,但我仍然不能正确理解。任何人都可以启发我?
I have tried to understand the difference between Lisp-1 and Lisp-2 and how this relates to Clojure but I still do not understand properly. Can anyone enlighten me?
推荐答案
根据维基百科:
函数的单独命名空间是优势是Lisp社区中的争论源泉。它通常被称为Lisp-1与Lisp-2的辩论。 Lisp-1是指Scheme的模型,Lisp-2是指Common Lisp的模型。
Whether a separate namespace for functions is an advantage is a source of contention in the Lisp community. It is usually referred to as the Lisp-1 vs. Lisp-2 debate. Lisp-1 refers to Scheme's model and Lisp-2 refers to Common Lisp's model.
基本上是关于变量和函数是否可以相同名称,没有冲突。 Clojure是一个Lisp-1 ,意味着它不允许同一个名称同时用于一个函数和一个变量。
It's basically about whether variables and functions can have the same name without clashing. Clojure is a Lisp-1 meaning that it does not allow the same name to be used for a function and a variable simultaneously.
这篇关于Lisp-1和Lisp-2有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!