File: seq-25.el.html

Sequence-manipulation functions that complement basic functions provided by subr.el.

All functions are prefixed with "seq-".

All provided functions work on lists, strings and vectors.

Functions taking a predicate or iterating over a sequence using a function as argument take the function as their first argument and the sequence as their second argument. All other functions take the sequence as their first argument.

seq.el can be extended to support new type of sequences. Here are the generic functions that must be implemented by new seq types:
- seq-elt
- seq-length
- seq-do
- seqp
- seq-subseq
- seq-into-sequence
- seq-copy
- seq-into

Defined variables (0)

Defined functions (22)

seq--take(N LIST)
seq--when-emacs-25-p(&rest BODY)
seq-every-p(PRED SEQUENCE)
seq-filter(PRED SEQUENCE)
seq-find(PRED SEQUENCE &optional DEFAULT)
seq-group-by(FUNCTION SEQUENCE)
seq-intersection(SEQUENCE1 SEQUENCE2 &optional TESTFN)
seq-keep(FUNCTION SEQUENCE)
seq-max(SEQUENCE)
seq-position(SEQUENCE ELT &optional TESTFN)
seq-positions(SEQUENCE ELT &optional TESTFN)
seq-random-elt(SEQUENCE)
seq-reduce(FUNCTION SEQUENCE INITIAL-VALUE)
seq-remove(PRED SEQUENCE)
seq-remove-at-position(SEQUENCE N)
seq-some(PRED SEQUENCE)
seq-sort-by(FUNCTION PRED SEQUENCE)
seq-split(SEQUENCE LENGTH)
seq-subseq(SEQUENCE START &optional END)
seq-take(SEQUENCE N)
seq-union(SEQUENCE1 SEQUENCE2 &optional TESTFN)
seq-uniq(SEQUENCE &optional TESTFN)

Defined faces (0)