summaryrefslogtreecommitdiff
path: root/seq.el
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2023-09-04 19:59:09 +0200
committerStefan Monnier <monnier@iro.umontreal.ca>2024-02-01 13:53:17 -0500
commit27a90793a13f149121180e864fa53d68b9eac0b3 (patch)
tree62fc1eb5a6fbeca5596438ffe6e88fc3c3ca86b3 /seq.el
parentaf74cec85d88755acf2ecba4278ef820feada724 (diff)
Sync seq.el with Emacs master and bump version to 2.24externals/seq
Diffstat (limited to 'seq.el')
-rw-r--r--seq.el15
1 files changed, 13 insertions, 2 deletions
diff --git a/seq.el b/seq.el
index 41db04b..fa13815 100644
--- a/seq.el
+++ b/seq.el
@@ -1,10 +1,10 @@
;;; seq.el --- Sequence manipulation functions -*- lexical-binding: t -*-
-;; Copyright (C) 2014-2020 Free Software Foundation, Inc.
+;; Copyright (C) 2014-2023 Free Software Foundation, Inc.
;; Author: Nicolas Petton <nicolas@petton.fr>
;; Keywords: sequences
-;; Version: 2.23
+;; Version: 2.24
;; Package: seq
;; Maintainer: emacs-devel@gnu.org
@@ -37,6 +37,17 @@
;; 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'
;;; Code: