[latex3-commits] [git/LaTeX3-latex3-latex3] master: Move \ior_(str)_map_variable:NNn to stable (5050bfcf5)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Sep 20 10:45:53 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/5050bfcf52c70c8aa7018cb565546760a35aabae

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

commit 5050bfcf52c70c8aa7018cb565546760a35aabae
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Sep 20 09:45:53 2019 +0100

    Move \ior_(str)_map_variable:NNn to stable


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

5050bfcf52c70c8aa7018cb565546760a35aabae
 l3kernel/CHANGELOG.md     |  2 ++
 l3kernel/l3candidates.dtx | 34 ----------------------------------
 l3kernel/l3file.dtx       | 34 ++++++++++++++++++++++++++++++++++
 3 files changed, 36 insertions(+), 34 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 274015c77..fd695b050 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -16,6 +16,8 @@ this project uses date-based 'snapshot' version identifiers.
   - `\fp_sign:n`
   - `\int_sign:n`
   - `\intarray_show:N`
+  - `\ior_map_variable:NNn`
+  - `\ior_str_map_variable:NNn`
   - `\prop_(g)set_from_clist:Nn`
   - `\prop_const_from_clist:Nn`
   - `\seq_const_from_clist:Nn`
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index 00f13c880..732d14ac7 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -302,40 +302,6 @@
 %   of two absent files is regarded as different.
 % \end{function}
 %
-% \begin{function}[added = 2019-01-13]{\ior_map_variable:NNn}
-%   \begin{syntax}
-%     \cs{ior_map_variable:NNn} \meta{stream} \meta{tl~var} \Arg{code}
-%   \end{syntax}
-%   For each set of \meta{lines} obtained by calling \cs{ior_get:NN}
-%   until reaching the end of the file, stores the \meta{lines} in the
-%   \meta{tl~var} then applies the \meta{code}.  The \meta{code} will
-%   usually make use of the \meta{variable}, but this is not enforced.
-%   The assignments to the \meta{variable} are local.
-%   Its value after the loop is the last set of \meta{lines}, or its
-%   original value if the \meta{stream} is empty.  \TeX{} ignores
-%   any trailing new-line marker from the file it reads.
-%   This function is typically faster than \cs{ior_map_inline:Nn}.
-% \end{function}
-%
-% \begin{function}[added = 2019-01-13]{\ior_str_map_variable:NNn}
-%   \begin{syntax}
-%     \cs{ior_str_map_variable:NNn} \meta{stream} \meta{variable} \Arg{code}
-%   \end{syntax}
-%   For each \meta{line} in the \meta{stream}, stores the \meta{line} in
-%   the \meta{variable} then applies the \meta{code}.  The material is
-%   read from the \meta{stream} as a series of tokens with category code
-%   $12$ (other), with the exception of space characters which are given
-%   category code $10$ (space).  The \meta{code} will usually make use
-%   of the \meta{variable}, but this is not enforced.  The assignments
-%   to the \meta{variable} are local.  Its value after the loop is the
-%   last \meta{line}, or its original value if the \meta{stream} is
-%   empty.  Note that \TeX{} removes trailing
-%   space and tab characters (character codes 32 and 9) from every line
-%   upon input.  \TeX{} also ignores any trailing new-line marker from
-%   the file it reads.
-%   This function is typically faster than \cs{ior_str_map_inline:Nn}.
-% \end{function}
-%
 % \begin{function}[added = 2018-12-29]{\iow_allow_break:}
 %   \begin{syntax}
 %     \cs{iow_allow_break:}
diff --git a/l3kernel/l3file.dtx b/l3kernel/l3file.dtx
index adafad9f2..d27645a0c 100644
--- a/l3kernel/l3file.dtx
+++ b/l3kernel/l3file.dtx
@@ -271,6 +271,40 @@
 %   ignores any trailing new-line marker from the file it reads.
 % \end{function}
 %
+% \begin{function}[added = 2019-01-13]{\ior_map_variable:NNn}
+%   \begin{syntax}
+%     \cs{ior_map_variable:NNn} \meta{stream} \meta{tl~var} \Arg{code}
+%   \end{syntax}
+%   For each set of \meta{lines} obtained by calling \cs{ior_get:NN}
+%   until reaching the end of the file, stores the \meta{lines} in the
+%   \meta{tl~var} then applies the \meta{code}.  The \meta{code} will
+%   usually make use of the \meta{variable}, but this is not enforced.
+%   The assignments to the \meta{variable} are local.
+%   Its value after the loop is the last set of \meta{lines}, or its
+%   original value if the \meta{stream} is empty.  \TeX{} ignores
+%   any trailing new-line marker from the file it reads.
+%   This function is typically faster than \cs{ior_map_inline:Nn}.
+% \end{function}
+%
+% \begin{function}[added = 2019-01-13]{\ior_str_map_variable:NNn}
+%   \begin{syntax}
+%     \cs{ior_str_map_variable:NNn} \meta{stream} \meta{variable} \Arg{code}
+%   \end{syntax}
+%   For each \meta{line} in the \meta{stream}, stores the \meta{line} in
+%   the \meta{variable} then applies the \meta{code}.  The material is
+%   read from the \meta{stream} as a series of tokens with category code
+%   $12$ (other), with the exception of space characters which are given
+%   category code $10$ (space).  The \meta{code} will usually make use
+%   of the \meta{variable}, but this is not enforced.  The assignments
+%   to the \meta{variable} are local.  Its value after the loop is the
+%   last \meta{line}, or its original value if the \meta{stream} is
+%   empty.  Note that \TeX{} removes trailing
+%   space and tab characters (character codes 32 and 9) from every line
+%   upon input.  \TeX{} also ignores any trailing new-line marker from
+%   the file it reads.
+%   This function is typically faster than \cs{ior_str_map_inline:Nn}.
+% \end{function}
+%
 % \begin{function}[added = 2012-06-29]{\ior_map_break:}
 %   \begin{syntax}
 %     \cs{ior_map_break:}





More information about the latex3-commits mailing list