From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/evaluation-notation.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 devdocs/elisp/evaluation-notation.html (limited to 'devdocs/elisp/evaluation-notation.html') diff --git a/devdocs/elisp/evaluation-notation.html b/devdocs/elisp/evaluation-notation.html new file mode 100644 index 00000000..cb7ff210 --- /dev/null +++ b/devdocs/elisp/evaluation-notation.html @@ -0,0 +1,15 @@ +

Evaluation Notation

A Lisp expression that you can evaluate is called a form. Evaluating a form always produces a result, which is a Lisp object. In the examples in this manual, this is indicated with ‘⇒’:

(car '(1 2))
+     ⇒ 1
+
+

You can read this as “(car '(1 2)) evaluates to 1”.

When a form is a macro call, it expands into a new form for Lisp to evaluate. We show the result of the expansion with ‘→’. We may or may not show the result of the evaluation of the expanded form.

(third '(a b c))
+     → (car (cdr (cdr '(a b c))))
+     ⇒ c
+
+

To help describe one form, we sometimes show another form that produces identical results. The exact equivalence of two forms is indicated with ‘≡’.

(make-sparse-keymap) ≡ (list 'keymap)
+
+
+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Evaluation-Notation.html +

+
-- cgit v1.2.3