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

l3keys: implement .str_... similar to .tl_... #1007

Closed
jlaurens opened this issue Oct 30, 2021 · 1 comment
Closed

l3keys: implement .str_... similar to .tl_... #1007

jlaurens opened this issue Oct 30, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@jlaurens
Copy link
Contributor

jlaurens commented Oct 30, 2021

There are already .tl_set:N and .tl_set_x:N, similar.str_set:N and .str_set_x:N would be welcome.

key .code:n = \str_set:Nn \l_my_str {##1},

would be replaced by

key .str_set:N = \l_my_str,

For better readability and simpler ## management.

For example, when dealing with file names, strings are in general better suited than token lists.

@blefloch
Copy link
Member

blefloch commented Nov 1, 2021

This was done in pull #1008, now merged.

@blefloch blefloch closed this as completed Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants