Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use \prg_new_conditional:Nnn to define \@@_if_option:n #289

Merged
merged 2 commits into from
Apr 7, 2023

Conversation

Witiko
Copy link
Owner

@Witiko Witiko commented Apr 7, 2023

Previously, we used \cs_new:Nn to define the conditional function \@@_if_option:nTF. This works, but it does not allow us to automatically generate other variants of \@@_if_option:nTF such as \@@_if_option:nT and \@@_if_option_p:n. This pull request changes \cs_new:Nn to \prg_new_conditional:Nnn, which allows us to automatically generate other variants of \@@_if_option:nTF.

@Witiko Witiko added technical debt Related to code smells and refactoring expl3 Related to the high-level programming language expl3 automerge This pull request will be automatically merged after continuous integration has succeeded labels Apr 7, 2023
@Witiko Witiko added this to the 2.23.0 milestone Apr 7, 2023
@Witiko Witiko force-pushed the fix/use-prg-instead-of-cs branch from b271019 to 8af0033 Compare April 7, 2023 12:31
@Witiko Witiko force-pushed the fix/use-prg-instead-of-cs branch from 8af0033 to 9299fe3 Compare April 7, 2023 12:47
@github-actions github-actions bot merged commit cf96f7c into main Apr 7, 2023
@Witiko Witiko deleted the fix/use-prg-instead-of-cs branch April 26, 2023 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge This pull request will be automatically merged after continuous integration has succeeded expl3 Related to the high-level programming language expl3 technical debt Related to code smells and refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant