Closed muzimuzhi closed 7 months ago
I am also not happy with the (historic) naming.
The CamelCase macros are somewhat bulky and differ from the other \ifcsv...
, but I also see no better way to keep the old ones for compatibility and introduce new ones. So, I adapt you proposal and add new CamelCase macros (but not for \ifcsvnotstrcmp
). The old macros are not really deprecated, but I diminished them in the documentation.
I saw 6ca3a0a (2.6.0 (Preview 3), 2023-12-19) that added CamelCase macros, thanks!
In
csvsimple-l3
, it's a bit odd to me that\ifcsvstrequal
(str equal) uses\tl_if_eq:eeTF
(tl equal) internally.I understand that the naming and behavior of
\ifcsv(not)strcmp
and\ifcsv(not)strequal
are inherited frometoolbox
package back tocsvsimple
v1.22 or older, but ascsvsimple-l3
is programmed inexpl3
code and doesn't loadetoolbox
any more by itself, followingexpl3
naming convention seems more natural.For backward compatibility concerns, one possibility is to provide a new set of CamelCase macros like
\IfCsvsimStrEqualTF
and\IfCsvsimTlEqualTF
.Csvsim
instead ofCsv
is suggested, to align withexpl3
module namecsvsim
in use. (A bit overlapping withfunctional
package.)