vector (original) (raw)
ANSI Common Lisp 15 Arrays
15.2 Dictionary of Arrays
15.2.29 vector | Function |
---|
Syntax:
vector &rest objects vector
Arguments and Values:
object - an object.
vector - a vector of type (vector t *).
Description:
Creates a fresh simple general vector whose size corresponds to the number of objects.
The vector is initialized to contain the objects.
Examples:
(arrayp (setq v (vector 1 2 'sirens))) true
(vectorp v)
true
(simple-vector-p v)
true
(length v) 3
See Also:
Notes:
(vector a_1_ a_2_ ... a_n_) ==(make-array (list n) :element-type t :initial-contents (list a_1_ a_2_ ... a_n_))
Allegro CL Implementation Details:
None.