texlive[69929] branches/branch2023.final/Master/texmf-dist:
commits+karl at tug.org
commits+karl at tug.org
Fri Feb 16 22:19:03 CET 2024
Revision: 69929
https://tug.org/svn/texlive?view=revision&revision=69929
Author: karl
Date: 2024-02-16 22:19:03 +0100 (Fri, 16 Feb 2024)
Log Message:
-----------
functional (branch) (15feb24)
Modified Paths:
--------------
branches/branch2023.final/Master/texmf-dist/doc/latex/functional/README.txt
branches/branch2023.final/Master/texmf-dist/doc/latex/functional/functional.pdf
branches/branch2023.final/Master/texmf-dist/doc/latex/functional/functional.tex
branches/branch2023.final/Master/texmf-dist/tex/latex/functional/functional.sty
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/functional/README.txt
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/functional/README.txt 2024-02-16 21:18:54 UTC (rev 69928)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/functional/README.txt 2024-02-16 21:19:03 UTC (rev 69929)
@@ -1,5 +1,5 @@
Functional: Intuitive Functional Programming Interface for LaTeX2
-Copyright : 2022-2023 (c) Jianrui Lyu <tolvjr at 163.com>
+Copyright : 2022-2024 (c) Jianrui Lyu <tolvjr at 163.com>
CTAN Page : https://ctan.org/pkg/functional
Repository: https://github.com/lvjr/functional
Repository: https://bitbucket.org/lvjr/functional
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/functional/functional.pdf
===================================================================
(Binary files differ)
Modified: branches/branch2023.final/Master/texmf-dist/doc/latex/functional/functional.tex
===================================================================
--- branches/branch2023.final/Master/texmf-dist/doc/latex/functional/functional.tex 2024-02-16 21:18:54 UTC (rev 69928)
+++ branches/branch2023.final/Master/texmf-dist/doc/latex/functional/functional.tex 2024-02-16 21:19:03 UTC (rev 69929)
@@ -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 @@
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 @@
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 @@
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 @@
\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 @@
\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}
Modified: branches/branch2023.final/Master/texmf-dist/tex/latex/functional/functional.sty
===================================================================
--- branches/branch2023.final/Master/texmf-dist/tex/latex/functional/functional.sty 2024-02-16 21:18:54 UTC (rev 69928)
+++ branches/branch2023.final/Master/texmf-dist/tex/latex/functional/functional.sty 2024-02-16 21:19:03 UTC (rev 69929)
@@ -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 at FunTmpxProp \prop_new:N \g at FunTmpyProp \prop_new:N \g at FunTmpzProp
-\prop_set_eq:NN \cEmptyProp \c_empty_prop
+\prop_const_from_keyval:Nn \cEmptyProp {}
\prgNewFunction \propNew { M } { \prop_new:N #1 }
More information about the tex-live-commits
mailing list.