texlive[73156] Master/texmf-dist: functional (18dec24)

commits+karl at tug.org commits+karl at tug.org
Wed Dec 18 22:11:37 CET 2024


Revision: 73156
          https://tug.org/svn/texlive?view=revision&revision=73156
Author:   karl
Date:     2024-12-18 22:11:37 +0100 (Wed, 18 Dec 2024)
Log Message:
-----------
functional (18dec24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/functional/functional.pdf
    trunk/Master/texmf-dist/doc/latex/functional/functional.tex
    trunk/Master/texmf-dist/tex/latex/functional/functional.sty

Modified: trunk/Master/texmf-dist/doc/latex/functional/functional.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/functional/functional.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/functional/functional.tex	2024-12-18 21:11:28 UTC (rev 73155)
+++ trunk/Master/texmf-dist/doc/latex/functional/functional.tex	2024-12-18 21:11:37 UTC (rev 73156)
@@ -3,7 +3,7 @@
 \documentclass[oneside]{book}
 \usepackage[a4paper,margin=2.5cm]{geometry}
 
-\newcommand*{\myversion}{2024B}
+\newcommand*{\myversion}{2024C}
 \newcommand*{\mydate}{Version \myversion\ (\the\year-\mylpad\month-\mylpad\day)}
 \newcommand*{\mylpad}[1]{\ifnum#1<10 0\the#1\else\the#1\fi}
 

Modified: trunk/Master/texmf-dist/tex/latex/functional/functional.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/functional/functional.sty	2024-12-18 21:11:28 UTC (rev 73155)
+++ trunk/Master/texmf-dist/tex/latex/functional/functional.sty	2024-12-18 21:11:37 UTC (rev 73156)
@@ -14,7 +14,7 @@
 \NeedsTeXFormat{LaTeX2e}[2018-04-01]
 
 \RequirePackage{expl3}
-\ProvidesExplPackage{functional}{2024-12-14}{2024B}
+\ProvidesExplPackage{functional}{2024-12-18}{2024C}
   {^^JIntuitive Functional Programming Interface for LaTeX2}
 
 \cs_generate_variant:Nn \iow_log:n { V }
@@ -1602,22 +1602,14 @@
 %%> \section{Interfaces for Floating Point Numbers (Fp)}
 %%% --------------------------------------------------------
 
-\fp_new:N \cZeroFp
-\fp_new:N \cMinusZeroFp
-\fp_new:N \cOneFp
-\fp_new:N \cInfFp
-\fp_new:N \cMinusInfFp
-\fp_new:N \cEFp
-\fp_new:N \cPiFp
-\fp_new:N \cOneDegreeFp
-\fp_set_eq:NN \cZeroFp      \c_zero_fp
-\fp_set_eq:NN \cMinusZeroFp \c_minus_zero_fp
-\fp_set_eq:NN \cOneFp       \c_one_fp
-\fp_set_eq:NN \cInfFp       \c_inf_fp
-\fp_set_eq:NN \cMinusInfFp  \c_minus_inf_fp
-\fp_set_eq:NN \cEFp         \c_e_fp
-\fp_set_eq:NN \cPiFp        \c_pi_fp
-\fp_set_eq:NN \cOneDegreeFp \c_one_degree_fp
+\fp_const:Nn \cZeroFp      { \c_zero_fp }
+\fp_const:Nn \cMinusZeroFp { \c_minus_zero_fp }
+\fp_const:Nn \cOneFp       { \c_one_fp }
+\fp_const:Nn \cInfFp       { \c_inf_fp }
+\fp_const:Nn \cMinusInfFp  { \c_minus_inf_fp }
+\fp_const:Nn \cEFp         { \c_e_fp }
+\fp_const:Nn \cPiFp        { \c_pi_fp }
+\fp_const:Nn \cOneDegreeFp { \c_one_degree_fp }
 
 \fp_new:N \lTmpaFp     \fp_new:N \lTmpbFp     \fp_new:N \lTmpcFp
 \fp_new:N \lTmpiFp     \fp_new:N \lTmpjFp     \fp_new:N \lTmpkFp
@@ -1866,8 +1858,7 @@
 \clist_new:N \l at FunTmpyClist \clist_new:N \g at FunTmpyClist
 \clist_new:N \l at FunTmpzClist \clist_new:N \g at FunTmpzClist
 
-\clist_new:N \cEmptyClist
-\clist_set_eq:NN \cEmptyClist \c_empty_clist
+\clist_const:Nn \cEmptyClist {}
 
 \prgNewFunction \clistNew { M } { \clist_new:N #1 }
 
@@ -2091,8 +2082,7 @@
 \seq_new:N \gTmpiSeq     \seq_new:N \gTmpjSeq     \seq_new:N \gTmpkSeq
 \seq_new:N \g at FunTmpxSeq \seq_new:N \g at FunTmpySeq \seq_new:N \g at FunTmpzSeq
 
-\seq_new:N \cEmptySeq
-\seq_set_eq:NN \cEmptySeq \c_empty_seq
+\seq_const_from_clist:Nn \cEmptySeq {}
 
 \prgNewFunction \seqNew { M } { \seq_new:N #1 }
 
@@ -2929,7 +2919,7 @@
 \AddToHook{package/xcolor/after}
   {
     \tlNew \l at Fun@Color at Tl
-    \prgNewFunction \colorFromSpec {mm}
+    \prgNewFunction \funColor { m m }
       {
         %% replace commas with vertical bars
         \tlSet \l at Fun@Color at Tl { \clistJoin { fun | #1 | #2 } { | } }



More information about the tex-live-commits mailing list.