[latex3-commits] [git/LaTeX3-latex3-latex3] master: Move \seq_const_from_clist:Nn to stable (707246d29)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Sep 19 23:37:57 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/707246d296494987dda829c114b957613e0818d4

>---------------------------------------------------------------

commit 707246d296494987dda829c114b957613e0818d4
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Sep 19 22:37:57 2019 +0100

    Move \seq_const_from_clist:Nn to stable


>---------------------------------------------------------------

707246d296494987dda829c114b957613e0818d4
 l3kernel/l3candidates.dtx               | 22 ----------------------
 l3kernel/l3seq.dtx                      | 22 ++++++++++++++++++++++
 l3kernel/testfiles/m3expl001.luatex.tlg |  4 ++--
 l3kernel/testfiles/m3expl001.ptex.tlg   |  4 ++--
 l3kernel/testfiles/m3expl001.tlg        |  4 ++--
 l3kernel/testfiles/m3expl001.uptex.tlg  |  4 ++--
 l3kernel/testfiles/m3expl001.xetex.tlg  |  4 ++--
 l3kernel/testfiles/m3expl003.luatex.tlg |  4 ++--
 l3kernel/testfiles/m3expl003.ptex.tlg   |  4 ++--
 l3kernel/testfiles/m3expl003.tlg        |  4 ++--
 l3kernel/testfiles/m3expl003.uptex.tlg  |  4 ++--
 l3kernel/testfiles/m3expl003.xetex.tlg  |  4 ++--
 12 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 9c490645b..a2df60c54 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -659,16 +659,6 @@
 %   \end{texnote}
 % \end{function}
 %
-% \begin{function}[added = 2017-11-28]
-%   {\seq_const_from_clist:Nn,  \seq_const_from_clist:cn}
-%   \begin{syntax}
-%     \cs{seq_const_from_clist:Nn} \meta{seq~var} \Arg{comma-list}
-%   \end{syntax}
-%   Creates a new constant \meta{seq~var} or raises an error if the name
-%   is already taken. The \meta{seq~var} is set globally to contain the
-%   items in the \meta{comma list}.
-% \end{function}
-%
 % \begin{function}[added = 2018-04-06]
 %   {\seq_set_from_function:NnN, \seq_gset_from_function:NnN}
 %   \begin{syntax}
@@ -1840,18 +1830,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\seq_const_from_clist:Nn, \seq_const_from_clist:cn}
-%   Almost identical to \cs{seq_set_from_clist:Nn}.
-%    \begin{macrocode}
-\cs_new_protected:Npn \seq_const_from_clist:Nn #1#2
-  {
-    \tl_const:Nx #1
-      { \s_@@ \clist_map_function:nN {#2} \@@_wrap_item:n }
-  }
-\cs_generate_variant:Nn \seq_const_from_clist:Nn { c }
-%    \end{macrocode}
-% \end{macro}
-%
 % \begin{macro}
 %   {
 %     \seq_indexed_map_function:NN, \seq_indexed_map_inline:Nn,
diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index 1f1213514..696e52be9 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -114,6 +114,16 @@
 %   the original \meta{comma list} is unchanged.
 % \end{function}
 %
+% \begin{function}[added = 2017-11-28]
+%   {\seq_const_from_clist:Nn,  \seq_const_from_clist:cn}
+%   \begin{syntax}
+%     \cs{seq_const_from_clist:Nn} \meta{seq~var} \Arg{comma-list}
+%   \end{syntax}
+%   Creates a new constant \meta{seq~var} or raises an error if the name
+%   is already taken. The \meta{seq~var} is set globally to contain the
+%   items in the \meta{comma list}.
+% \end{function}
+%
 % \begin{function}[added = 2011-08-15, updated = 2012-07-02]
 %   {
 %     \seq_set_split:Nnn , \seq_set_split:NnV ,
@@ -1121,6 +1131,18 @@
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}{\seq_const_from_clist:Nn, \seq_const_from_clist:cn}
+%   Almost identical to \cs{seq_set_from_clist:Nn}.
+%    \begin{macrocode}
+\cs_new_protected:Npn \seq_const_from_clist:Nn #1#2
+  {
+    \tl_const:Nx #1
+      { \s_@@ \clist_map_function:nN {#2} \@@_wrap_item:n }
+  }
+\cs_generate_variant:Nn \seq_const_from_clist:Nn { c }
+%    \end{macrocode}
+% \end{macro}
+%
 % \begin{macro}
 %   {
 %     \seq_set_split:Nnn , \seq_set_split:NnV ,
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 5a30bbc12..d67967d95 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -1057,6 +1057,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6462,8 +6464,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 68c37ffe2..5007bd3be 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6457,8 +6459,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index f5e120f25..8a8118bf0 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6457,8 +6459,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 09f3964ea..9ba0d3530 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6453,8 +6455,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index c1ba65bdd..94b39a803 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6461,8 +6463,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 5a30bbc12..d67967d95 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -1057,6 +1057,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6462,8 +6464,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 68c37ffe2..5007bd3be 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6457,8 +6459,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index f5e120f25..8a8118bf0 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6457,8 +6459,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 09f3964ea..9ba0d3530 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6453,8 +6455,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index c1ba65bdd..94b39a803 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -1055,6 +1055,8 @@ Defining \seq_gset_from_clist:Nc on line ...
 Defining \seq_gset_from_clist:cN on line ...
 Defining \seq_gset_from_clist:cc on line ...
 Defining \seq_gset_from_clist:cn on line ...
+Defining \seq_const_from_clist:Nn on line ...
+Defining \seq_const_from_clist:cn on line ...
 Defining \seq_set_split:Nnn on line ...
 Defining \seq_gset_split:Nnn on line ...
 Defining \__seq_set_split:NNnn on line ...
@@ -6461,8 +6463,6 @@ Defining \seq_gset_from_inline_x:Nnn on line ...
 Defining \__seq_set_from_inline_x:NNnn on line ...
 Defining \seq_set_from_function:NnN on line ...
 Defining \seq_gset_from_function:NnN on line ...
-Defining \seq_const_from_clist:Nn on line ...
-Defining \seq_const_from_clist:cn on line ...
 Defining \seq_indexed_map_function:NN on line ...
 Defining \seq_indexed_map_inline:Nn on line ...
 Defining \__seq_indexed_map:NN on line ...





More information about the latex3-commits mailing list