Scheme (programming language): Difference between revisions

Content deleted Content added
m Tiny spacing fix.
m task, replaced: Lisp and Symbolic Computation → LISP and Symbolic Computation
Line 223:
 
===Shared namespace for procedures and variables===
In contrast to Common Lisp, all data and procedures in Scheme share a common namespace, whereas in Common Lisp [[Common Lisp#The function namespace|functions and data have separate namespaces]] making it possible for a function and a variable to have the same name, and requiring special notation for referring to a function as a value. This is sometimes known as the "[[Lisp-1 vs. Lisp-2]]" distinction, referring to the unified namespace of Scheme and the separate namespaces of Common Lisp.<ref>{{Cite news |last=Gabriel |first=Richard P. |author-link=Richard P. Gabriel |last2=Pitman |first2=Kent |author-link2=Kent Pitman |year=1988 |title=Technical Issues of Separation in Function Cells and Value Cells |volume=1 |pages=81–101 |work=LispLISP and Symbolic Computation |issue=1 |publication-date=June 1988 |url=http://www.nhplace.com/kent/Papers/Technical-Issues.html |access-date=2012-08-09 |doi=10.1007/BF01806178}}</ref>
 
In Scheme, the same primitives that are used to manipulate and bind data can be used to bind procedures. There is no equivalent of Common Lisp's <code>defun</code> and <code>#'</code> primitives.
Line 679:
*{{curlie|Computers/Programming/Languages/Lisp/Scheme|Scheme}}
*[https://schemers.org/ schemers.org] provides links to several Scheme resources including the specifications
*{{Wikibooks- inline|Scheme Programming}}
*{{Wikibooks- inline|Write Yourself a Scheme in 48 Hours}}
*{{Commons category-inline|Scheme (programming language)}}
*[https://discu.eu/weekly/lisp/ Scheme Weekly]