(defun vectorp (x)
(and (arrayp x) (null (cdr (array-dimensions x)))))
+(defun vector (&rest objects)
+ (let* ((length (length objects))
+ (array (make-array length :element-type t))
+ (i 0))
+ (dolist (element objects array) ;; poor-man's :initial-contents
+ (aset array i element)
+ (incf i))))
+
;;; FIXME: should take optional min-extension.
;;; FIXME: should use fill-pointer instead of the absolute end of array
(defun vector-push-extend (new vector)