[latex3-commits] [git/LaTeX3-latex3-latex3] rand: Move \<thing>_rand_item:N to stable (ec29730)

Joseph Wright joseph.wright at morningstar2.co.uk
Sun Dec 2 09:57:52 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : rand
Link       : https://github.com/latex3/latex3/commit/ec2973034fcba2dde10fe5c77c658f327591b4be

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

commit ec2973034fcba2dde10fe5c77c658f327591b4be
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Nov 1 08:32:46 2018 +0000

    Move \<thing>_rand_item:N to stable
    
    Also \int_rand:n, which is a trivial extension of int_rand:nn.


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

ec2973034fcba2dde10fe5c77c658f327591b4be
 l3kernel/l3candidates.dtx               |  129 +------------------------------
 l3kernel/l3clist.dtx                    |   43 +++++++++++
 l3kernel/l3int.dtx                      |    9 +++
 l3kernel/l3intarray.dtx                 |    8 ++
 l3kernel/l3seq.dtx                      |   27 +++++++
 l3kernel/l3tl.dtx                       |   30 +++++++
 l3kernel/testfiles/m3expl001.luatex.tlg |   18 ++---
 l3kernel/testfiles/m3expl001.ptex.tlg   |   18 ++---
 l3kernel/testfiles/m3expl001.tlg        |   18 ++---
 l3kernel/testfiles/m3expl001.uptex.tlg  |   18 ++---
 l3kernel/testfiles/m3expl001.xetex.tlg  |   18 ++---
 l3kernel/testfiles/m3expl003.luatex.tlg |   18 ++---
 l3kernel/testfiles/m3expl003.ptex.tlg   |   18 ++---
 l3kernel/testfiles/m3expl003.tlg        |   18 ++---
 l3kernel/testfiles/m3expl003.uptex.tlg  |   18 ++---
 l3kernel/testfiles/m3expl003.xetex.tlg  |   18 ++---
 16 files changed, 208 insertions(+), 218 deletions(-)

diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 4c1c05e..d4ef8e9 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -193,25 +193,6 @@
 %   group level.
 % \end{function}
 %
-% \section{Additions to \pkg{l3clist}}
-%
-% \begin{function}[EXP, added = 2016-12-06]
-%   {\clist_rand_item:N, \clist_rand_item:n, \clist_rand_item:c}
-%   \begin{syntax}
-%     \cs{clist_rand_item:N} \meta{clist~var}
-%     \cs{clist_rand_item:n} \Arg{comma list}
-%   \end{syntax}
-%   Selects a pseudo-random item of the \meta{comma list}.  If the
-%   \meta{comma list} has no item, the result is empty.  This not
-%   yet available in \XeTeX{}.
-%   \begin{texnote}
-%     The result is returned within the \tn{unexpanded}
-%     primitive (\cs{exp_not:n}), which means that the \meta{item}
-%     does not expand further when appearing in an \texttt{x}-type
-%     argument expansion.
-%   \end{texnote}
-% \end{function}
-%
 % \section{Additions to \pkg{l3coffins}}
 %
 % \begin{function}{\coffin_resize:Nnn, \coffin_resize:cnn}
@@ -439,34 +420,16 @@
 %
 % \section{Additions to \pkg{l3int}}
 %
-% \begin{function}[EXP, added = 2018-05-05]{\int_rand:n}
-%   \begin{syntax}
-%     \cs{int_rand:n} \Arg{intexpr}
-%   \end{syntax}
-%   Evaluates the \meta{integer expression} then produces a
-%   pseudo-random number between $1$ and the \meta{intexpr} (included).
-%   This is not yet available in \XeTeX{}.
-% \end{function}
-%
 % \begin{function}[EXP, added = 2018-11-03]{\int_sign:n}
 %   \begin{syntax}
 %     \cs{int_sign:n} \Arg{intexpr}
-%   \end{syntax}
 %   Evaluates the \meta{integer expression} then leaves $1$ or $0$ or
+%   \end{syntax}
 %   $-1$ in the input stream according to the sign of the result.
 % \end{function}
 %
 % \section{Additions to \pkg{l3intarray}}
 %
-% \begin{function}[EXP, added = 2018-05-05]{\intarray_rand_item:N}
-%   \begin{syntax}
-%     \cs{intarray_rand_item:N} \meta{intarray~var}
-%   \end{syntax}
-%   Selects a pseudo-random item of the \meta{integer array}.  If the
-%   \meta{integer array} is empty, produce an error.  This is not yet
-%   available in \XeTeX{}.
-% \end{function}
-%
 % \begin{function}[added = 2018-05-05]{\intarray_gset_rand:Nnn, \intarray_gset_rand:Nn}
 %   \begin{syntax}
 %     \cs{intarray_gset_rand:Nnn} \meta{intarray~var} \Arg{minimum} \Arg{maximum}
@@ -752,21 +715,6 @@
 %   \end{texnote}
 % \end{function}
 %
-% \begin{function}[EXP, added = 2016-12-06]{\seq_rand_item:N, \seq_rand_item:c}
-%   \begin{syntax}
-%     \cs{seq_rand_item:N} \meta{seq~var}
-%   \end{syntax}
-%   Selects a pseudo-random item of the \meta{sequence}.  If the
-%   \meta{sequence} is empty the result is empty.  This is not yet
-%   available in \XeTeX{}.
-%   \begin{texnote}
-%     The result is returned within the \tn{unexpanded}
-%     primitive (\cs{exp_not:n}), which means that the \meta{item}
-%     does not expand further when appearing in an \texttt{x}-type
-%     argument expansion.
-%   \end{texnote}
-% \end{function}
-%
 % \begin{function}[added = 2017-11-28]
 %   {\seq_const_from_clist:Nn,  \seq_const_from_clist:cn}
 %   \begin{syntax}
@@ -1288,23 +1236,6 @@
 %   \meta{shell command}.
 % \end{function}
 %
-% \begin{function}[EXP, added = 2016-12-06]
-%   {\tl_rand_item:N, \tl_rand_item:c, \tl_rand_item:n}
-%   \begin{syntax}
-%     \cs{tl_rand_item:N} \meta{tl~var}
-%     \cs{tl_rand_item:n} \Arg{token list}
-%   \end{syntax}
-%   Selects a pseudo-random item of the \meta{token list}.  If the
-%   \meta{token list} is blank, the result is empty.  This is not yet
-%   available in \XeTeX{}.
-%   \begin{texnote}
-%     The result is returned within the \tn{unexpanded}
-%     primitive (\cs{exp_not:n}), which means that the \meta{item}
-%     does not expand further when appearing in an \texttt{x}-type
-%     argument expansion.
-%   \end{texnote}
-% \end{function}
-%
 % \begin{function}[EXP, added = 2017-02-17, updated = 2017-07-15]
 %   {\tl_range:Nnn, \tl_range:nnn}
 %   \begin{syntax}
@@ -1720,39 +1651,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \subsection{Additions to \pkg{l3clist}}
-%
-%    \begin{macrocode}
-%<@@=clist>
-%    \end{macrocode}
-%
-% \begin{macro}{\clist_rand_item:n, \clist_rand_item:N, \clist_rand_item:c}
-% \begin{macro}{\@@_rand_item:nn}
-%   The |N|-type function is not implemented through the |n|-type
-%   function for efficiency: for instance comma-list variables do not
-%   require space-trimming of their items.  Even testing for emptyness
-%   of an |n|-type comma-list is slow, so we count items first and use
-%   that both for the emptyness test and the pseudo-random integer.
-%   Importantly, \cs{clist_item:Nn} and \cs{clist_item:nn} only evaluate
-%   their argument once.
-%    \begin{macrocode}
-\cs_new:Npn \clist_rand_item:n #1
-  { \exp_args:Nf \@@_rand_item:nn { \clist_count:n {#1} } {#1} }
-\cs_new:Npn \@@_rand_item:nn #1#2
-  {
-    \int_compare:nNnF {#1} = 0
-      { \clist_item:nn {#2} { \int_rand:nn { 1 } {#1} } }
-  }
-\cs_new:Npn \clist_rand_item:N #1
-  {
-    \clist_if_empty:NF #1
-      { \clist_item:Nn #1 { \int_rand:nn { 1 } { \clist_count:N #1 } } }
-  }
-\cs_generate_variant:Nn \clist_rand_item:N { c }
-%    \end{macrocode}
-% \end{macro}
-% \end{macro}
-%
 % \subsection{Additions to \pkg{l3coffins}}
 %
 %    \begin{macrocode}
@@ -2740,18 +2638,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-% \begin{macro}{\seq_rand_item:N, \seq_rand_item:c}
-%   Importantly, \cs{seq_item:Nn} only evaluates its argument once.
-%    \begin{macrocode}
-\cs_new:Npn \seq_rand_item:N #1
-  {
-    \seq_if_empty:NF #1
-      { \seq_item:Nn #1 { \int_rand:nn { 1 } { \seq_count:N #1 } } }
-  }
-\cs_generate_variant:Nn \seq_rand_item:N { c }
-%    \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}
@@ -5099,19 +4985,6 @@
 %
 % \subsubsection{Other additions to \pkg{l3tl}}
 %
-% \begin{macro}{\tl_rand_item:n, \tl_rand_item:N, \tl_rand_item:c}
-%   Importantly \cs{tl_item:nn} only evaluates its argument once.
-%    \begin{macrocode}
-\cs_new:Npn \tl_rand_item:n #1
-  {
-    \tl_if_blank:nF {#1}
-      { \tl_item:nn {#1} { \int_rand:nn { 1 } { \tl_count:n {#1} } } }
-  }
-\cs_new:Npn \tl_rand_item:N { \exp_args:No \tl_rand_item:n }
-\cs_generate_variant:Nn \tl_rand_item:N { c }
-%    \end{macrocode}
-% \end{macro}
-%
 % Some preliminary code is needed for the \cs{tl_range:nnn} family of functions.
 %
 % \begin{macro}{\tl_range:Nnn, \tl_range:cnn, \tl_range:nnn}
diff --git a/l3kernel/l3clist.dtx b/l3kernel/l3clist.dtx
index 7d2f371..4ed85e3 100644
--- a/l3kernel/l3clist.dtx
+++ b/l3kernel/l3clist.dtx
@@ -692,6 +692,22 @@
 %   \end{texnote}
 % \end{function}
 %
+% \begin{function}[EXP, added = 2016-12-06]
+%   {\clist_rand_item:N, \clist_rand_item:n, \clist_rand_item:c}
+%   \begin{syntax}
+%     \cs{clist_rand_item:N} \meta{clist~var}
+%     \cs{clist_rand_item:n} \Arg{comma list}
+%   \end{syntax}
+%   Selects a pseudo-random item of the \meta{comma list}.  If the
+%   \meta{comma list} has no item, the result is empty.
+%   \begin{texnote}
+%     The result is returned within the \tn{unexpanded}
+%     primitive (\cs{exp_not:n}), which means that the \meta{item}
+%     does not expand further when appearing in an \texttt{x}-type
+%     argument expansion.
+%   \end{texnote}
+% \end{function}
+%
 % \section{Viewing comma lists}
 %
 % \begin{function}[updated = 2015-08-03]{\clist_show:N, \clist_show:c}
@@ -1932,6 +1948,33 @@
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}{\clist_rand_item:n, \clist_rand_item:N, \clist_rand_item:c}
+% \begin{macro}{\@@_rand_item:nn}
+%   The |N|-type function is not implemented through the |n|-type
+%   function for efficiency: for instance comma-list variables do not
+%   require space-trimming of their items.  Even testing for emptyness
+%   of an |n|-type comma-list is slow, so we count items first and use
+%   that both for the emptyness test and the pseudo-random integer.
+%   Importantly, \cs{clist_item:Nn} and \cs{clist_item:nn} only evaluate
+%   their argument once.
+%    \begin{macrocode}
+\cs_new:Npn \clist_rand_item:n #1
+  { \exp_args:Nf \@@_rand_item:nn { \clist_count:n {#1} } {#1} }
+\cs_new:Npn \@@_rand_item:nn #1#2
+  {
+    \int_compare:nNnF {#1} = 0
+      { \clist_item:nn {#2} { \int_rand:nn { 1 } {#1} } }
+  }
+\cs_new:Npn \clist_rand_item:N #1
+  {
+    \clist_if_empty:NF #1
+      { \clist_item:Nn #1 { \int_rand:nn { 1 } { \clist_count:N #1 } } }
+  }
+\cs_generate_variant:Nn \clist_rand_item:N { c }
+%    \end{macrocode}
+% \end{macro}
+% \end{macro}
+%
 % \subsection{Viewing comma lists}
 %
 % \begin{macro}{\clist_show:N, \clist_show:c, \clist_log:N, \clist_log:c, \@@_show:NN}
diff --git a/l3kernel/l3int.dtx b/l3kernel/l3int.dtx
index 56fa910..6e96710 100644
--- a/l3kernel/l3int.dtx
+++ b/l3kernel/l3int.dtx
@@ -795,6 +795,15 @@
 %   is not yet available in \XeTeX{}.
 % \end{function}
 %
+% \begin{function}[EXP, added = 2018-05-05]{\int_rand:n}
+%   \begin{syntax}
+%     \cs{int_rand:n} \Arg{intexpr}
+%   \end{syntax}
+%   Evaluates the \meta{integer expression} then produces a
+%   pseudo-random number between $1$ and the \meta{intexpr} (included).
+%   This is not yet available in \XeTeX{}.
+% \end{function}
+%
 % \section{Viewing integers}
 %
 % \begin{function}{\int_show:N, \int_show:c}
diff --git a/l3kernel/l3intarray.dtx b/l3kernel/l3intarray.dtx
index 6879d1c..e2b48ce 100644
--- a/l3kernel/l3intarray.dtx
+++ b/l3kernel/l3intarray.dtx
@@ -112,6 +112,14 @@
 %   error occurs.
 % \end{function}
 %
+% \begin{function}[EXP, added = 2018-05-05]{\intarray_rand_item:N}
+%   \begin{syntax}
+%     \cs{intarray_rand_item:N} \meta{intarray~var}
+%   \end{syntax}
+%   Selects a pseudo-random item of the \meta{integer array}.  If the
+%   \meta{integer array} is empty, produce an error.
+% \end{function}
+%
 % \subsection{Implementation notes}
 %
 % It is a wrapper around the \tn{fontdimen} primitive, used to store
diff --git a/l3kernel/l3seq.dtx b/l3kernel/l3seq.dtx
index 0eaadc7..88413af 100644
--- a/l3kernel/l3seq.dtx
+++ b/l3kernel/l3seq.dtx
@@ -289,6 +289,21 @@
 %   \end{texnote}
 % \end{function}
 %
+% \begin{function}[EXP, added = 2016-12-06]{\seq_rand_item:N, \seq_rand_item:c}
+%   \begin{syntax}
+%     \cs{seq_rand_item:N} \meta{seq~var}
+%   \end{syntax}
+%   Selects a pseudo-random item of the \meta{sequence}.  If the
+%   \meta{sequence} is empty the result is empty.  This is not yet
+%   available in \XeTeX{}.
+%   \begin{texnote}
+%     The result is returned within the \tn{unexpanded}
+%     primitive (\cs{exp_not:n}), which means that the \meta{item}
+%     does not expand further when appearing in an \texttt{x}-type
+%     argument expansion.
+%   \end{texnote}
+% \end{function}
+%
 % \section{Recovering values from sequences with branching}
 %
 % The functions in this section combine tests for non-empty sequences
@@ -1702,6 +1717,18 @@
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}{\seq_rand_item:N, \seq_rand_item:c}
+%   Importantly, \cs{seq_item:Nn} only evaluates its argument once.
+%    \begin{macrocode}
+\cs_new:Npn \seq_rand_item:N #1
+  {
+    \seq_if_empty:NF #1
+      { \seq_item:Nn #1 { \int_rand:nn { 1 } { \seq_count:N #1 } } }
+  }
+\cs_generate_variant:Nn \seq_rand_item:N { c }
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{Mapping to sequences}
 %
 % \begin{macro}{\seq_map_break:}
diff --git a/l3kernel/l3tl.dtx b/l3kernel/l3tl.dtx
index 30ef7b7..645d05a 100644
--- a/l3kernel/l3tl.dtx
+++ b/l3kernel/l3tl.dtx
@@ -1009,6 +1009,23 @@
 %   \end{texnote}
 % \end{function}
 %
+% \begin{function}[EXP, added = 2016-12-06]
+%   {\tl_rand_item:N, \tl_rand_item:c, \tl_rand_item:n}
+%   \begin{syntax}
+%     \cs{tl_rand_item:N} \meta{tl~var}
+%     \cs{tl_rand_item:n} \Arg{token list}
+%   \end{syntax}
+%   Selects a pseudo-random item of the \meta{token list}.  If the
+%   \meta{token list} is blank, the result is empty.  This is not yet
+%   available in \XeTeX{}.
+%   \begin{texnote}
+%     The result is returned within the \tn{unexpanded}
+%     primitive (\cs{exp_not:n}), which means that the \meta{item}
+%     does not expand further when appearing in an \texttt{x}-type
+%     argument expansion.
+%   \end{texnote}
+% \end{function}
+%
 % \section{Viewing token lists}
 %
 % \begin{function}[updated = 2015-08-01]{\tl_show:N, \tl_show:c}
@@ -2964,6 +2981,19 @@
 % \end{macro}
 % \end{macro}
 %
+% \begin{macro}{\tl_rand_item:n, \tl_rand_item:N, \tl_rand_item:c}
+%   Importantly \cs{tl_item:nn} only evaluates its argument once.
+%    \begin{macrocode}
+\cs_new:Npn \tl_rand_item:n #1
+  {
+    \tl_if_blank:nF {#1}
+      { \tl_item:nn {#1} { \int_rand:nn { 1 } { \tl_count:n {#1} } } }
+  }
+\cs_new:Npn \tl_rand_item:N { \exp_args:No \tl_rand_item:n }
+\cs_generate_variant:Nn \tl_rand_item:N { c }
+%    \end{macrocode}
+% \end{macro}
+%
 % \subsection{Viewing token lists}
 %
 % \begin{macro}{\tl_show:N, \tl_show:c, \tl_log:N, \tl_log:c, \@@_show:NN}
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 9983a99..5f9b1bd 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -628,6 +628,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1203,6 +1206,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -1987,6 +1992,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5735,10 +5744,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5843,8 +5848,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6072,9 +6075,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 15f52bb..a4e09bf 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5768,10 +5777,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5876,8 +5881,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6109,9 +6112,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 31bd5be..dee5ba9 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5768,10 +5777,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5876,8 +5881,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6310,9 +6313,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index 672ec8e..eb3cbee 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5765,10 +5774,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5873,8 +5878,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6307,9 +6310,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index f84aad0..9e5156d 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5746,10 +5755,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5854,8 +5859,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \seq_shuffle:N on line ...
@@ -6076,9 +6079,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 9983a99..5f9b1bd 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -628,6 +628,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1203,6 +1206,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -1987,6 +1992,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5735,10 +5744,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5843,8 +5848,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6072,9 +6075,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 15f52bb..a4e09bf 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5768,10 +5777,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5876,8 +5881,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6109,9 +6112,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 31bd5be..dee5ba9 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5768,10 +5777,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5876,8 +5881,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6310,9 +6313,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index 672ec8e..eb3cbee 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5765,10 +5774,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5873,8 +5878,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \l__seq_internal_a_int on line ...
@@ -6307,9 +6310,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index f84aad0..9e5156d 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -665,6 +665,9 @@ Defining \__tl_item_aux:nn on line ...
 Defining \__tl_item:nn on line ...
 Defining \tl_item:Nn on line ...
 Defining \tl_item:cn on line ...
+Defining \tl_rand_item:n on line ...
+Defining \tl_rand_item:N on line ...
+Defining \tl_rand_item:c on line ...
 Defining \tl_show:N on line ...
 Defining \tl_show:c on line ...
 Defining \tl_log:N on line ...
@@ -1239,6 +1242,8 @@ Defining \__seq_item:wNn on line ...
 Defining \__seq_item:nN on line ...
 Defining \__seq_item:nwn on line ...
 Defining \seq_item:cn on line ...
+Defining \seq_rand_item:N on line ...
+Defining \seq_rand_item:c on line ...
 Defining \seq_map_break: on line ...
 Defining \seq_map_break:n on line ...
 Defining \seq_map_function:NN on line ...
@@ -2023,6 +2028,10 @@ Defining \__clist_item_n_loop:nw on line ...
 Defining \__clist_item_n_end:n on line ...
 Defining \__clist_item_n_strip:n on line ...
 Defining \__clist_item_n_strip:w on line ...
+Defining \clist_rand_item:n on line ...
+Defining \__clist_rand_item:nn on line ...
+Defining \clist_rand_item:N on line ...
+Defining \clist_rand_item:c on line ...
 Defining \clist_show:N on line ...
 Defining \clist_show:c on line ...
 Defining \clist_log:N on line ...
@@ -5746,10 +5755,6 @@ Defining \box_trim:Nnnnn on line ...
 Defining \box_trim:cnnnn on line ...
 Defining \box_viewport:Nnnnn on line ...
 Defining \box_viewport:cnnnn on line ...
-Defining \clist_rand_item:n on line ...
-Defining \__clist_rand_item:nn on line ...
-Defining \clist_rand_item:N on line ...
-Defining \clist_rand_item:c on line ...
 Defining \l__coffin_sin_fp on line ...
 Defining \l__coffin_cos_fp on line ...
 Defining \l__coffin_bounding_prop on line ...
@@ -5854,8 +5859,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_rand_item:N on line ...
-Defining \seq_rand_item:c on line ...
 Defining \seq_const_from_clist:Nn on line ...
 Defining \seq_const_from_clist:cn on line ...
 Defining \seq_shuffle:N on line ...
@@ -6076,9 +6079,6 @@ Defining \__tl_build_get_end:w on line ...
 Defining \tl_build_end:N on line ...
 Defining \tl_build_gend:N on line ...
 Defining \__tl_build_end_loop:NN on line ...
-Defining \tl_rand_item:n on line ...
-Defining \tl_rand_item:N on line ...
-Defining \tl_rand_item:c on line ...
 Defining \tl_range:Nnn on line ...
 Defining \tl_range:cnn on line ...
 Defining \tl_range:nnn on line ...





More information about the latex3-commits mailing list