summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-02-16 21:05:00 +0000
committerKarl Berry <karl@freefriends.org>2024-02-16 21:05:00 +0000
commit7d41c56dca4a7b341a662744f327fb9f4e4ce0ab (patch)
treea38f68f7ce828006ed5f1bde34100751da1e123c /Master/texmf-dist
parent0de1f21b378d12318976cefba1fcda96bfc705b5 (diff)
functional (16feb24)
git-svn-id: svn://tug.org/texlive/trunk@69908 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/functional/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/functional/functional.pdfbin860824 -> 696206 bytes
-rw-r--r--Master/texmf-dist/doc/latex/functional/functional.tex22
-rw-r--r--Master/texmf-dist/tex/latex/functional/functional.sty4
4 files changed, 14 insertions, 14 deletions
diff --git a/Master/texmf-dist/doc/latex/functional/README.txt b/Master/texmf-dist/doc/latex/functional/README.txt
index f15c24459f6..806939deead 100644
--- a/Master/texmf-dist/doc/latex/functional/README.txt
+++ b/Master/texmf-dist/doc/latex/functional/README.txt
@@ -1,5 +1,5 @@
Functional: Intuitive Functional Programming Interface for LaTeX2
-Copyright : 2022-2023 (c) Jianrui Lyu <tolvjr@163.com>
+Copyright : 2022-2024 (c) Jianrui Lyu <tolvjr@163.com>
CTAN Page : https://ctan.org/pkg/functional
Repository: https://github.com/lvjr/functional
Repository: https://bitbucket.org/lvjr/functional
diff --git a/Master/texmf-dist/doc/latex/functional/functional.pdf b/Master/texmf-dist/doc/latex/functional/functional.pdf
index 2bd469d994e..26f7701a5d8 100644
--- a/Master/texmf-dist/doc/latex/functional/functional.pdf
+++ b/Master/texmf-dist/doc/latex/functional/functional.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/functional/functional.tex b/Master/texmf-dist/doc/latex/functional/functional.tex
index 33d9a53f199..3b36c8579ab 100644
--- a/Master/texmf-dist/doc/latex/functional/functional.tex
+++ b/Master/texmf-dist/doc/latex/functional/functional.tex
@@ -3,7 +3,7 @@
\documentclass[oneside]{book}
\usepackage[a4paper,margin=2.5cm]{geometry}
-\newcommand*{\myversion}{2023A}
+\newcommand*{\myversion}{2024A}
\newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
\newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}
@@ -207,8 +207,8 @@ Both examples calculate first the square of $5$ and produce $25$,
then calculate the square of $25$ and produce $625$.
In contrast to \verb!expl3!, this \verb!functional! package
does evaluation of functions from inside to outside,
-which means composition of functions works like othe programming languages
-such as \verb!Lua! or \verb!JavsScript!.
+which means composition of functions works like other programming languages
+such as \verb!Lua! or \verb!JavaScript!.
You can define new functions with \cs{prgNewFunction} command.
To make composition of functions work as expected,
@@ -317,7 +317,7 @@ print(a) ---- 1
Same as \verb!expl3!, the names of local variables \emph{must} start with \verb!l!,
while names of global variables \emph{must} start with \verb!g!.
The difference is that \verb!functional! package provides only one function for setting
-both local and global varianbles of the same type,
+both local and global variables of the same type,
by checking leading letters of their names. So for integer variables, you can write
\verb!\intSet\lTmpaInt{1}! and \verb!\intSet\gTmpbInt{2}!.
@@ -481,7 +481,7 @@ and many expansion functions for expanding them, which are necessary for power u
Within \verb!functional! package, there are only three variants
(\verb!c!, \verb!e!, \verb!V!) are provided, and these variants are defined
-as functions (\cs{expName}, \cs{expWhole}, \cs{expValue}, respetively),
+as functions (\cs{expName}, \cs{expWhole}, \cs{expValue}, respectively),
which are easier to use for regular users.
\begin{demohigh}
@@ -1719,9 +1719,9 @@ If the \meta{token list} is blank, the result is empty.
\section{Mapping over Token Lists}
-All mappings are done at the current group level, \emph{i.e.} any
-local assignments made by the \meta{function} or \meta{code} discussed
-below remain in effect after the loop.
+%All mappings are done at the current group level, \emph{i.e.} any
+%local assignments made by the \meta{function} or \meta{code} discussed
+%below remain in effect after the loop.
%\begin{function}{\tlMapFunction}
%\begin{syntax}
@@ -2641,9 +2641,9 @@ $-1$ is the right-most character, \emph{etc.}
\section{Mapping over Strings}
-All mappings are done at the current group level, \emph{i.e.} any
-local assignments made by the \meta{function} or \meta{code} discussed
-below remain in effect after the loop.
+%All mappings are done at the current group level, \emph{i.e.} any
+%local assignments made by the \meta{function} or \meta{code} discussed
+%below remain in effect after the loop.
%\begin{function}{\strMapFunction,\strVarMapFunction}
%\begin{syntax}
diff --git a/Master/texmf-dist/tex/latex/functional/functional.sty b/Master/texmf-dist/tex/latex/functional/functional.sty
index 1a4307276ff..65b12ba7501 100644
--- a/Master/texmf-dist/tex/latex/functional/functional.sty
+++ b/Master/texmf-dist/tex/latex/functional/functional.sty
@@ -14,7 +14,7 @@
\NeedsTeXFormat{LaTeX2e}[2018-04-01]
\RequirePackage{expl3}
-\ProvidesExplPackage{functional}{2023-01-07}{2023A}
+\ProvidesExplPackage{functional}{2024-02-16}{2024A}
{^^JIntuitive Functional Programming Interface for LaTeX2}
\cs_generate_variant:Nn \iow_log:n { V }
@@ -2320,7 +2320,7 @@
\prop_new:N \gTmpiProp \prop_new:N \gTmpjProp \prop_new:N \gTmpkProp
\prop_new:N \g@FunTmpxProp \prop_new:N \g@FunTmpyProp \prop_new:N \g@FunTmpzProp
-\prop_set_eq:NN \cEmptyProp \c_empty_prop
+\prop_const_from_keyval:Nn \cEmptyProp {}
\prgNewFunction \propNew { M } { \prop_new:N #1 }