Function: seq-remove-at-position

seq-remove-at-position is a byte-compiled function defined in seq-25.el.

Signature

(seq-remove-at-position SEQUENCE N)

Documentation

Return a copy of SEQUENCE with the element at index N removed.

N is the (zero-based) index of the element that should not be in the result.

The result is a sequence of the same type as SEQUENCE.

Implementations

(sequence n) in `seq-25.el'.

Undocumented

Source Code

;; Defined in ~/.emacs.d/elpa/seq-2.24/seq-25.el
;;;###autoload
(cl-defgeneric seq-remove-at-position (sequence n)
  "Return a copy of SEQUENCE with the element at index N removed.

N is the (zero-based) index of the element that should not be in
the result.

The result is a sequence of the same type as SEQUENCE."
  (seq-concatenate
   (let ((type (type-of sequence)))
     (if (eq type 'cons) 'list type))
   (seq-subseq sequence 0 n)
   (seq-subseq sequence (1+ n))))