Question about the booleans in expl3 (of LaTeX3)
up vote
4
down vote
favorite
In expl3
, there are the commands int_zero_new:N
, tl_clear_new:N
, str_clear_new:N
, seq_clear_new:N
, clist_clear_new:N
, etc., but there is no similar command for the booleans (something like bool_false_new:N
). Is there a reason ?
expl3
|
show 3 more comments
up vote
4
down vote
favorite
In expl3
, there are the commands int_zero_new:N
, tl_clear_new:N
, str_clear_new:N
, seq_clear_new:N
, clist_clear_new:N
, etc., but there is no similar command for the booleans (something like bool_false_new:N
). Is there a reason ?
expl3
@TeXnician But isn't the objective to make a new one, or to set an existing false?
– Manuel
Nov 18 at 12:35
The objective of such a command would be to set the boolean to false... after creation of this boolean if it doesn't yet exist. Of course, it's very easy to write such a command. My question is: why such an command doesn't since it would be very similar to the existing commands for many otherexpl3
types of objects.
– F. Pantigny
Nov 18 at 12:52
The default value of a new boolean is false.
– Ulrike Fischer
Nov 18 at 14:52
@ Ulrike Fischer. Yes, I know but this is not my question.
– F. Pantigny
Nov 18 at 15:55
2
I think it would make sense to provide such a command.
– Bruno Le Floch
Nov 18 at 16:24
|
show 3 more comments
up vote
4
down vote
favorite
up vote
4
down vote
favorite
In expl3
, there are the commands int_zero_new:N
, tl_clear_new:N
, str_clear_new:N
, seq_clear_new:N
, clist_clear_new:N
, etc., but there is no similar command for the booleans (something like bool_false_new:N
). Is there a reason ?
expl3
In expl3
, there are the commands int_zero_new:N
, tl_clear_new:N
, str_clear_new:N
, seq_clear_new:N
, clist_clear_new:N
, etc., but there is no similar command for the booleans (something like bool_false_new:N
). Is there a reason ?
expl3
expl3
asked Nov 18 at 12:18
F. Pantigny
48518
48518
@TeXnician But isn't the objective to make a new one, or to set an existing false?
– Manuel
Nov 18 at 12:35
The objective of such a command would be to set the boolean to false... after creation of this boolean if it doesn't yet exist. Of course, it's very easy to write such a command. My question is: why such an command doesn't since it would be very similar to the existing commands for many otherexpl3
types of objects.
– F. Pantigny
Nov 18 at 12:52
The default value of a new boolean is false.
– Ulrike Fischer
Nov 18 at 14:52
@ Ulrike Fischer. Yes, I know but this is not my question.
– F. Pantigny
Nov 18 at 15:55
2
I think it would make sense to provide such a command.
– Bruno Le Floch
Nov 18 at 16:24
|
show 3 more comments
@TeXnician But isn't the objective to make a new one, or to set an existing false?
– Manuel
Nov 18 at 12:35
The objective of such a command would be to set the boolean to false... after creation of this boolean if it doesn't yet exist. Of course, it's very easy to write such a command. My question is: why such an command doesn't since it would be very similar to the existing commands for many otherexpl3
types of objects.
– F. Pantigny
Nov 18 at 12:52
The default value of a new boolean is false.
– Ulrike Fischer
Nov 18 at 14:52
@ Ulrike Fischer. Yes, I know but this is not my question.
– F. Pantigny
Nov 18 at 15:55
2
I think it would make sense to provide such a command.
– Bruno Le Floch
Nov 18 at 16:24
@TeXnician But isn't the objective to make a new one, or to set an existing false?
– Manuel
Nov 18 at 12:35
@TeXnician But isn't the objective to make a new one, or to set an existing false?
– Manuel
Nov 18 at 12:35
The objective of such a command would be to set the boolean to false... after creation of this boolean if it doesn't yet exist. Of course, it's very easy to write such a command. My question is: why such an command doesn't since it would be very similar to the existing commands for many other
expl3
types of objects.– F. Pantigny
Nov 18 at 12:52
The objective of such a command would be to set the boolean to false... after creation of this boolean if it doesn't yet exist. Of course, it's very easy to write such a command. My question is: why such an command doesn't since it would be very similar to the existing commands for many other
expl3
types of objects.– F. Pantigny
Nov 18 at 12:52
The default value of a new boolean is false.
– Ulrike Fischer
Nov 18 at 14:52
The default value of a new boolean is false.
– Ulrike Fischer
Nov 18 at 14:52
@ Ulrike Fischer. Yes, I know but this is not my question.
– F. Pantigny
Nov 18 at 15:55
@ Ulrike Fischer. Yes, I know but this is not my question.
– F. Pantigny
Nov 18 at 15:55
2
2
I think it would make sense to provide such a command.
– Bruno Le Floch
Nov 18 at 16:24
I think it would make sense to provide such a command.
– Bruno Le Floch
Nov 18 at 16:24
|
show 3 more comments
1 Answer
1
active
oldest
votes
up vote
2
down vote
You have to keep in mind that expl3
is under very active development and no “final” version exists yet. That is to say, that the reason for the absence of commands like bool_false_new:N
is that nobody has implemented them yet. This is usually due to the fact that nobody was able to come up with a convincing use-case. The LaTeX3 team is rather reluctant with adding new functionality for which there are few or no users, out of fear that expl3
becomes too bloated and unmaintainable. Nevertheless, you should feel encouraged to file a pull request against the official expl3
upstream code at https://github.com/latex3/latex3 such that a discussion about this new feature can be created.
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
You have to keep in mind that expl3
is under very active development and no “final” version exists yet. That is to say, that the reason for the absence of commands like bool_false_new:N
is that nobody has implemented them yet. This is usually due to the fact that nobody was able to come up with a convincing use-case. The LaTeX3 team is rather reluctant with adding new functionality for which there are few or no users, out of fear that expl3
becomes too bloated and unmaintainable. Nevertheless, you should feel encouraged to file a pull request against the official expl3
upstream code at https://github.com/latex3/latex3 such that a discussion about this new feature can be created.
add a comment |
up vote
2
down vote
You have to keep in mind that expl3
is under very active development and no “final” version exists yet. That is to say, that the reason for the absence of commands like bool_false_new:N
is that nobody has implemented them yet. This is usually due to the fact that nobody was able to come up with a convincing use-case. The LaTeX3 team is rather reluctant with adding new functionality for which there are few or no users, out of fear that expl3
becomes too bloated and unmaintainable. Nevertheless, you should feel encouraged to file a pull request against the official expl3
upstream code at https://github.com/latex3/latex3 such that a discussion about this new feature can be created.
add a comment |
up vote
2
down vote
up vote
2
down vote
You have to keep in mind that expl3
is under very active development and no “final” version exists yet. That is to say, that the reason for the absence of commands like bool_false_new:N
is that nobody has implemented them yet. This is usually due to the fact that nobody was able to come up with a convincing use-case. The LaTeX3 team is rather reluctant with adding new functionality for which there are few or no users, out of fear that expl3
becomes too bloated and unmaintainable. Nevertheless, you should feel encouraged to file a pull request against the official expl3
upstream code at https://github.com/latex3/latex3 such that a discussion about this new feature can be created.
You have to keep in mind that expl3
is under very active development and no “final” version exists yet. That is to say, that the reason for the absence of commands like bool_false_new:N
is that nobody has implemented them yet. This is usually due to the fact that nobody was able to come up with a convincing use-case. The LaTeX3 team is rather reluctant with adding new functionality for which there are few or no users, out of fear that expl3
becomes too bloated and unmaintainable. Nevertheless, you should feel encouraged to file a pull request against the official expl3
upstream code at https://github.com/latex3/latex3 such that a discussion about this new feature can be created.
answered Nov 19 at 3:55
Henri Menke
67.3k7148255
67.3k7148255
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f460581%2fquestion-about-the-booleans-in-expl3-of-latex3%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
@TeXnician But isn't the objective to make a new one, or to set an existing false?
– Manuel
Nov 18 at 12:35
The objective of such a command would be to set the boolean to false... after creation of this boolean if it doesn't yet exist. Of course, it's very easy to write such a command. My question is: why such an command doesn't since it would be very similar to the existing commands for many other
expl3
types of objects.– F. Pantigny
Nov 18 at 12:52
The default value of a new boolean is false.
– Ulrike Fischer
Nov 18 at 14:52
@ Ulrike Fischer. Yes, I know but this is not my question.
– F. Pantigny
Nov 18 at 15:55
2
I think it would make sense to provide such a command.
– Bruno Le Floch
Nov 18 at 16:24