Lisp (programming language): Difference between revisions

Content deleted Content added
Operating systems: finished this sentence and included a link to the relevant page
Operators: added link to ALGOL
Line 247:
evaluates to 10. The equivalent under [[infix notation]] would be "{{Lisp2|1 + 2 + 3 + 4}}".
 
Lisp has no notion of operators as implemented in Algol[[ALGOL]]-derived languages. Arithmetic operators in Lisp are [[variadic function]]s (or ''n-ary''), able to take any number of arguments. A C-style '++' increment operator is sometimes implemented under the name <code>incf</code> giving syntax
<syntaxhighlight lang="Lisp">
(incf x)