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/vector-type.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 devdocs/elisp/vector-type.html (limited to 'devdocs/elisp/vector-type.html') diff --git a/devdocs/elisp/vector-type.html b/devdocs/elisp/vector-type.html new file mode 100644 index 00000000..e146db70 --- /dev/null +++ b/devdocs/elisp/vector-type.html @@ -0,0 +1,9 @@ +

Vector Type

A vector is a one-dimensional array of elements of any type. It takes a constant amount of time to access any element of a vector. (In a list, the access time of an element is proportional to the distance of the element from the beginning of the list.)

The printed representation of a vector consists of a left square bracket, the elements, and a right square bracket. This is also the read syntax. Like numbers and strings, vectors are considered constants for evaluation.

[1 "two" (three)]      ; A vector of three elements.
+     ⇒ [1 "two" (three)]
+
+

See Vectors, for functions that work with vectors.

+

+ 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/Vector-Type.html +

+
-- cgit v1.2.3