Volkan YAZICI wrote:

>Evet, bundan Practical Common Lisp'te de bahsediliyor. Daha çok merak
>ettiğim, neden böyle bir ayrıma gidildiği. (Bu Lisp için de böyle
>miydi, yoksa Common Lisp ile birlikte gelen bir ayrıntı mı?)
>  
>
http://en.wikipedia.org/wiki/Common_Lisp#Comparison_with_other_Lisps

Common Lisp is sometimes termed a /Lisp-2/ and Scheme a /Lisp-1/,
referring to CL's use of separate namespaces for functions and
variables. (In fact, CL has /many/ namespaces, such as those for go
tags, block names, and |loop| keywords.) There is a long-standing
controversy between CL and Scheme advocates over the tradeoffs involved
in multiple namespaces. In Scheme, it is (broadly) necessary to avoid
giving variables names which clash with functions; Scheme functions
frequently have arguments named |lis|, |lst|, or |lyst| so as not to
conflict with the system function |list|. However, in CL it is necessary
to explicitly refer to the function namespace when passing a function as
an argument -- which is also a common occurrence, as in the |sort|
example above.

arnesi kullanarak lisp-1 sexpleri lisp-2 icinde kullanmak mumkun.

saglicakla,
evrim.


_______________________________________________
cs-lisp mailing list
[email protected]
http://church.cs.bilgi.edu.tr/lcg
http://cs.bilgi.edu.tr/mailman/listinfo/cs-lisp

Cevap