articles/lisp.md: typo fix

This commit is contained in:
tocariimaa 2025-03-04 18:08:34 -03:00
parent e8ee16c26e
commit dc2a4f0155

View file

@ -12,7 +12,7 @@ by the program itself. This gives Lisp powerful metaprogramming capabilities thr
time. Therefore, Lisp source code directly represents the program as a tree without extra superfluous syntax time. Therefore, Lisp source code directly represents the program as a tree without extra superfluous syntax
(as in mainstream [programming languages](programming_language.md)). (as in mainstream [programming languages](programming_language.md)).
A Lisp can be built on a basic set of primitives such as `cons`, `car`, `cdr`, `lambda`, `apply`, `eval`, `eq`, `quote` and others (as decribed in the A Lisp can be built on a basic set of primitives such as `cons`, `car`, `cdr`, `lambda`, `apply`, `eval`, `eq`, `quote` and others (as described in the
Lisp 1.5 manual). Lisp 1.5 manual).
Since it is based on the [lambda calculus](lambda_calculus.md) a Lisp could also be built in terms of lambdas. Since it is based on the [lambda calculus](lambda_calculus.md) a Lisp could also be built in terms of lambdas.
For example, using Church encoding this is how `cons` cells could be implemented using only lambdas: For example, using Church encoding this is how `cons` cells could be implemented using only lambdas: