You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To ease expansion handling, expl3 follows the rule that a function is either fully expandable or protected.
As of v6.0.5 only two zlabel-related functions are defined by \cs_new_protected:Npn, which will eventually be defined with prefix \protected. More non-expandable functions should be created by \cs_new_protected:Npn and \cs_new_protected_nopar:Npn, not the corresponding \cs_new:Npn and \cs_new_nopar:Npn.
The text was updated successfully, but these errors were encountered:
I take this as some general advice when overhauling code.
muzimuzhi
changed the title
Use \cs_new_protected:Npn when needed
Use \cs_new_protected:Npn for un-expandable expl3 functions
Sep 8, 2024
muzimuzhi
changed the title
Use \cs_new_protected:Npn for un-expandable expl3 functions
Use \cs_new_protected:Npn for expl3 functions not fully expandable
Sep 8, 2024
To ease expansion handling,
expl3
follows the rule that a function is either fully expandable or protected.As of v6.0.5 only two
zlabel
-related functions are defined by\cs_new_protected:Npn
, which will eventually be defined with prefix\protected
. More non-expandable functions should be created by\cs_new_protected:Npn
and\cs_new_protected_nopar:Npn
, not the corresponding\cs_new:Npn
and\cs_new_nopar:Npn
.The text was updated successfully, but these errors were encountered: