lispdoc - results for vector-push

(vector-push new-el array)
Function: Attempt to set the element of ARRAY designated by its fill pointer to NEW-EL, and increment the fill pointer by one. If the fill pointer is too large, NIL is returned, otherwise the index of the pushed element is returned.
Example:
(defun leave (n)
  (let ((s (gethash n harbor)))
    (remhash n harbor)
    (vector-push s pool)))
Mentioned in:
CLtL2 - 17.5. Fill Pointers
CLtL2 - 21.2. Creating New Streams
HyperSpec - Function VECTOR-PUSH, VECTOR-PUSH-EXTEND
PCL - destructive operations
PCL - hash table iteration
PCL - vectors
(vector-push-extend new-element vector &optional
 (min-extension
  (let ((length (length vector)))
    (min (1+ length) (- array-dimension-limit length)))))
Undocumented
Example:
(defun push-op (op ops-buffer)
  (vector-push-extend op ops-buffer))
Mentioned in:
CLtL2 - 17.5. Fill Pointers
CLtL2 - 21.2. Creating New Streams
HyperSpec - Function VECTOR-PUSH, VECTOR-PUSH-EXTEND
PCL - hash table iteration
PCL - vectors
(vector-pop array)
Function: Decrease the fill pointer by 1 and return the element pointed to by the new fill pointer.
Example:
(defun undo-bindings! (old-trail)
  "Undo all bindings back to a given point in the trail."
  (loop until (= (fill-pointer *trail*)
                 old-trail)
        do (setf (var-binding
                  (vector-pop *trail*))
                   unbound)))
Mentioned in:
CLtL2 - 17.5. Fill Pointers
HyperSpec - Function VECTOR-POP
PCL - destructive operations
PCL - hash table iteration
PCL - vectors