summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/expl3/l3prop.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/expl3/l3prop.dtx')
-rw-r--r--Master/texmf-dist/source/latex/expl3/l3prop.dtx28
1 files changed, 17 insertions, 11 deletions
diff --git a/Master/texmf-dist/source/latex/expl3/l3prop.dtx b/Master/texmf-dist/source/latex/expl3/l3prop.dtx
index 73958e5fd56..9c93d32dcbc 100644
--- a/Master/texmf-dist/source/latex/expl3/l3prop.dtx
+++ b/Master/texmf-dist/source/latex/expl3/l3prop.dtx
@@ -36,7 +36,7 @@
\RequirePackage{l3names}
%</driver|package>
%\fi
-\GetIdInfo$Id: l3prop.dtx 1536 2009-09-16 07:23:04Z joseph $
+\GetIdInfo$Id: l3prop.dtx 1622 2009-10-25 06:41:23Z will $
{L3 Experimental Property Lists}
%\iffalse
%<*driver>
@@ -197,7 +197,10 @@
% "\prop_map_function:NN" <\proplist> <function>
% \end{syntax}
% Maps <function> which should be a function with two arguments (<\propkey>
-% and <\propval>) over every <\propkey> <\propval> pair of <\proplist>. Expandable.
+% and <\propval>) over every <\propkey> <\propval> pair of <\proplist>.
+% Property lists do not have any intrinsic ``order'' when stored. As a
+% result, you should not expect any particular order to apply when using
+% these mapping functions, even with newly-created properly lists.
% \end{function}
%
% \begin{function}{\prop_map_inline:Nn |
@@ -209,6 +212,9 @@
% Just like "\prop_map_function:NN" but with the function of two arguments
% supplied as inline code. Within <inline function> refer to the
% arguments via "#1" (<\propkey>) and "#2" (<\propval>). Nestable.
+% Property lists do not have any intrinsic ``order'' when stored. As a
+% result, you should not expect any particular order to apply when using
+% these mapping functions, even with newly-created properly lists.
% \end{function}
%
%
@@ -327,9 +333,9 @@
% \end{function}
%
% \begin{function}{%
-% \g_prop_inline_level_num |
+% \g_prop_inline_level_int |
% }
-% Fake integer used in internal name for function used inside
+% Integer used in internal name for function used inside
% "\prop_map_inline:NN".
% \end{function}
%
@@ -806,22 +812,22 @@
%
% \begin{macro}{\prop_map_inline:Nn}
% \begin{macro}{\prop_map_inline:cn}
-% \begin{macro}{\g_prop_inline_level_num}
+% \begin{macro}{\g_prop_inline_level_int}
% The inline functions are straight forward. It takes longer
% to test if the list is empty than to run it on an empty list so
% we don't waste time doing that.
% \begin{macrocode}
-\num_new:N \g_prop_inline_level_num
+\int_new:N \g_prop_inline_level_int
\cs_new_nopar:Npn \prop_map_inline:Nn #1#2 {
- \num_gincr:N \g_prop_inline_level_num
- \cs_gset:cpn {prop_map_inline_ \num_use:N \g_prop_inline_level_num :n}
+ \int_gincr:N \g_prop_inline_level_int
+ \cs_gset:cpn {prop_map_inline_ \int_use:N \g_prop_inline_level_int :n}
##1##2{#2}
\prop_map_function:Nc #1
- {prop_map_inline_ \num_use:N \g_prop_inline_level_num :n}
- \num_gdecr:N \g_prop_inline_level_num
+ {prop_map_inline_ \int_use:N \g_prop_inline_level_int :n}
+ \int_gdecr:N \g_prop_inline_level_int
}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\cs_generate_variant:Nn\prop_map_inline:Nn {cn}
% \end{macrocode}